Skip to content
Submitted almost 4 years ago

Responsive NFT card component using CSS Flexbox

LVL 1
@terka-codes
A solution to the NFT preview card component challenge

Solution retrospective


Is the CSS I used for my footer not to overflow, ok? Or should I do something else? I struggle with it a lot to make it not overflow, so I am curious if there is a better way or if I finally cracked it. 🥹

footer {
    background-color: hsl(216, 50%, 16%);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2em;
}

footer p {
    font-weight: 400;
    font-size: 1.1rem;
    color: hsl(0, 0%, 100%, 0.5);
}

(hopefully the code formatting works here 😅)

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Terka Codes’s solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord