Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
In this challenge, I noticed that in the summary section (on the right side), there are elements like Reaction, Memory, and so on. If you look closely, these elements have borders only on the top-right, top-left, bottom-right, and bottom-left sides.
To achieve this effect, I created two div elements with position: absolute, and changed their colors to sit on top of those elements, creating a similar border effect.
My question is: Is there a better way to achieve this effect?
Thanks, everyone!
Community feedback
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