Submitted over 2 years ago
use flex-direction: row-reverse to switch order of div to solve
@akhademik
Design comparison
SolutionDesign
Solution retrospective
- use "flex-direction: row-reverse" to switch order of div to solve.
Community feedback
- @AmanpreetSingh1995Posted over 2 years ago
Hi, you could have used "order: 2" in the header class instead of using "flex-direction: row-reverse". Using flex-direction can work in this case but not in all cases. It can mess up the design. So better use "order". And you don't have to specify position relative it will work fine without it as well. Keep Coding! :)
0@akhademikPosted over 2 years ago@AmanpreetSingh1995 oh thanks for the TIP, i didn't know about order of flexbox. With that it could be easier. Thanks bro :)
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