Design comparison
SolutionDesign
Community feedback
- @SunilParbhooPosted 3 months ago
Nice job on this project. One thing I think you could try in order to reduce redundancy in your css code is to set the border radius on just your
.container
class, remove the additionalborder top left radius: .07em;
and theborder bottom left radius: .07em;
on theimg-container
. Instead addoverflow:hidden
to the.container
class. This should reduce some lines of code and still produce the desired effect.Marked as helpful0
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