Design comparison
SolutionDesign
Community feedback
- @justine1607Posted about 1 month ago
- border-top-style: outset; / / border-top-color: var(--cyan); / / border-width: 0.25rem; --this can be achieved by just one line of code try setting it to border-top: 5px solid var(--cyan);
- Use margin-left: auto instead. This will dynamically push the image to the right and is more flexible. Avoid using fixed values for margins unless absolutely necessary.
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