Product Landing page using media queries

Solution retrospective
Which is the best approach to follow to set the margins between paragraphs and titles ?
- Set a border-bottom to every element ?; or
- Set a border-top and a border-bottom to the central element and then set the rest of margins for the other elements ?
Which properties should be set in "rem" and which ones in "px" ? Do we only use "rem" for properties related to html font-size ? What about width/height for an img, borders, margin, etc.
Thanks !
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on SuperJulia2024's solution.
Join 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