Design comparison
SolutionDesign
Solution retrospective
How to move svg on top left or right without adding any margin or padding? I tried with text-align: start , but it didn't work, so I simply added margin-right to display it on top-left.
Community feedback
- @Nishkarsh01Posted over 3 years ago
Try creating a responsive web-design. I notice that you've used
display:flex
on the main tag. Try changing the flex-direction tocolumn
to make the cards stack on top of each other in combination with media queries.As per the svgs I think you've already found a solution to that.
1@mushamakPosted over 3 years ago@Nishkarsh01 I changed two lines of code inside media query and added flex-direction: column, it worked. Thank you
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