Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 9 months ago

Bento grid

astro
Chris Psilocybin•1,185
@xphstos
A solution to the Bento grid challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

That was a lot of fun!

I discovered a great use case for display: contents, and layouts like these always provide good practice with CSS Grid.

My personal challenge? Styling without any classes—just for fun! 😄

I'm a big fan of AstroJS, especially because its components have scoped styles by default. That inspired me to create this layout without relying on classes for styling.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Chris Psilocybin's solution.

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License