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

@WDWaleed

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


I would like to know about some CSS quirks.

I found out about a quirk of CSS. I don't know what it's called exactly but basically if 2 divs are inline-blocks, declared to take 50% of the width they will NOT stay side-by-side unless the start tag of the second div is right after the end tag of the first div. This way there will be no whitespace between the two divs and 50% + 50% = 100%. This won't happen normally. Therefore I call it the "Whitespace Quirk".

I would like to know any quirks that you guys might know of so that I can deal with them beforehand.

Community feedback

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