Design comparison
Solution retrospective
To be completely honest I am not that proud of finishing this challenge. I feel like there must be an easier way to get this to look the way that the design is set up. But I am happy that I managed to get it to look at least similar to the design.
What challenges did you encounter, and how did you overcome them?The main challenge was to get the desktop part of the design look the way it should.
And to be honest I am not entirely proud of how I went about making it look the way it needed to be. I created a grid of 3 columns and 3 rows wide, and I just placed the cards the way they were supposed to be placed, and I finalized it by adding transform: translateY()
to the middle cards to move them to the center. It worked but I feel like there is an easier, or more efficient way.
I just want someone to look at my CSS and tell me if my solution to this challenge is decent.
Community feedback
- @Smailen5Posted 7 months ago
Excellent solution, congratulations your css code seems well written, you made use of variables and pseudo selectors such as ::before, I liked that for the media query you used rem and not px. Is there any part of your code that gives you doubts? and still a good code 😉
1
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