Submitted over 1 year ago
Responsive result component using CSS Grid
@Abu-AbdiLlah-AlBukhaaree
Design comparison
SolutionDesign
Solution retrospective
This challenge was quite challenging. It's been a long time since I worked with CSS Grid.
I had a problem adding a margin to create white space around the result component when changing from the single-column layout to the double-column layout.
The margin messes up the single-column layout whenever it is very close to its width is very close to transition width.
I eventually didn't add the margin.
Can anyone help with how I can add some margin or give some white space if I transition to the double-column layout, without messing up the code?
Community feedback
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