Submitted 8 months ago
Responsive four card feature section using CSS grid and flex
@Antonvasilache
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
- Creating a more complex layout using grid and flex containers, to minimize the use of fixed values.
- Figuring out and creating the layout relatively quick, vast majority of time was spent on the fine details.
- Creating the shadow just as in the design file, I still think color is not exactly right.
- Adjusting the spacing at the end, trying to match the design as best as possible.
- Placing the container on the page, not sure if using vh was the best option.
- Not confident with how to use the box-shadow properties.
Community feedback
- @Biskup85Posted 8 months ago
Hello, you can try introducing to font-size rem, and for padding and margin em. I'm thinking it's a good pattern for responsive sites.
1 - @Smailen5Posted 8 months ago
Fantastic, the layout is practically identical. Perhaps you forgot to use the correct background color for the card container.
1@AntonvasilachePosted 8 months ago@Smailen5 Thanks, I completely missed it on desktop. The difference is really visible on mobile though.
0
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