Submitted about 3 years ago
stats-preview-card-component using flexbox
@Juveria-Dalvi
Design comparison
SolutionDesign
Solution retrospective
Can someone explain me how you guys manage to take the image at side using flex-box I tried doing that but I don't get it. Any suggestions are welcomed. Thank You!
Community feedback
- @cornelisgijsbertPosted about 3 years ago
Hi, In this case, try flex-direction: row-reverse; For more help look at https://www.w3schools.com/default.asp There are good videos at youtube, e.g. traversy media. There's lot more information to find about html, css and js on the internet.
Marked as helpful2 - @darryncodesPosted about 3 years ago
Hi Juvera,
Your mobile design is excellent.
- This is an excellent comprehensive guide: A Complete Guide to Flexbox
- using
display: flex;
it'sflex-direction
default isrow
. With the right order to your mark up you'll manage to get the side by side column layout
Good luck with it
Marked as helpful1
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