Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive Four Card feature Section built with Mobile-First Workflow

#accessibility
Finneyβ€’ 3,030

@Finney06

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Added some "cool" hover effect on the four cards for only the desktop view. check out my design and also check my code and help me improve it with HTML and CSS best practice. Thank you.😊😌

Community feedback

Lucas πŸ‘Ύβ€’ 104,560

@correlucas

Posted

πŸ‘ΎHello Finney, congratulations for your new solution!

I just saw your solution and this is really amazing and fully responsive. The only thing I think you could change is the aligment and the box-shadow.

Here's my tips:

To have your content aligned vertically cented you need to use these flex properties:display: flex; / align-items: center; / justify-content: center;

main {
    display: flex;
    max-width: 375px;
    padding: 4rem 2.5rem;
    margin: 0 auto;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

The shadow is too transparent, in this case you can give it more opacity to make it a bit more visible, use this value instead box-shadow: rgb(0 13 28 / 5%) 0px 12px 15px;

πŸ‘‹ I hope this helps you and happy coding!

Marked as helpful

1

Finneyβ€’ 3,030

@Finney06

Posted

@correlucas Thanks for the feedback I'll work on that.πŸ™‚

0

Please log in to post a comment

Log in with GitHub
Discord logo

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