Submitted about 1 year ago
Results Summary Component with pure HTML, CSS Bonus: JavaScript-JSON
@rubenscarius
Design comparison
SolutionDesign
Community feedback
- @dmuriPosted about 1 year ago
Well done!
I have some small suggestions to improve responsiveness for smaller displays.
- Remove height and width property from .main and let flexbox do the layout for you
- Add a media query for .main with flex-direction
The CSS would look something like this
.main { display: flex; flex-direction: row; box-shadow: 10px 10px 30px #342eea31; border-radius: 25px; background-color: white; } @media (max-width: 800px) { .main { flex-direction: column; } }
Happy coding!
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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