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

Mobile First, CSS Grid

@klettsome

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi,

I noticed with this challenge and the last one, I have a heard time controlling my height using CSS grid. Should I just have my rows set to auto and then just use padding to push the content away from the edges?

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Hey Kallom, yeah that's exactly what I'd recommend. Allowing the content and padding to dictate the height of the element and areas within is the best way to go 👍

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