Design comparison
SolutionDesign
Solution retrospective
How do I go about getting two elements in the same div side by side I tried using float but that would not work. I had to use negative margin to get them aligned any tips? Also, how do you go about planning the design part and knowing what to use?
Community feedback
- @ajinspiroPosted almost 3 years ago
You can use flexbox. (display: flex; justify-content: space-between;) for more info google 'css flexbox'
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