Vanilla CSS responsive landing page with variables

Solution by

Design Comparison



  • 0Accessibility

  • 1HTML

View Report

Pierre's questions for the community

Here is my proposition for this challenge!

I tried using in-HTML media queries, I don't know if this is a best practice but I thought it would avoid loading unnecessary code when loading the website on mobile for example.

I also used CSS variables and built the grid with flexbox !

I'm open to every comment !

Slack logo

Join our Slack community

Join over 40,000 people taking the challenges, talking about their code, helping each other, and chatting about all things front-end!