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 card using CSS Flex and Grid

@P0wertDev

Desktop design screenshot for the Social links profile coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

My workflow in writing and understanding code is much better, thanks to all the challenges.

What challenges did you encounter, and how did you overcome them?

Responsive design is my biggest challenge but, im understanding each days

What specific areas of your project would you like help with?

I have a question:

The propertie max-width, it did not work completly. Each time i used it, did no work.

Any suggestions?

I had to use the propertie min-width for it to work

Community feedback

P
Koda👹 3,810

@kodan96

Posted

hi there! 👋

You didn't mention what was the purpose of using max-width in the first place. So what was the expected behavior and what happened instead.

I usually use max-width with the combination of the width property using relative units. It works perfectly fine when I use it.

Example:

.element {
  width: 90%;
  max-width: 650px;
  margin: 0 auto;
}

Here .element will take up 90% of the viewport width, but it will stop at 650px and won't expand anymore.

Hope this was helpful 🙏

Good luck and happy coding! 💪

Marked as helpful

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