Design comparison
SolutionDesign
Solution retrospective
I could not round the border top of svg image, instead i convert the svg to jpg and apply css: border-top-left-radius: 10px; border-top-right-radius: 10px; Do you know how to do that?
Community feedback
- @katrien-sPosted about 3 years ago
Since you set a
border-radius
on your.container
, you can just useoverflow: hidden
on the.header
.header { overflow: hidden; }
Marked as helpful0@AndreiM987Posted about 3 years ago@graficdoctor Thank you a lot! I dont't belive it's that simple :) I struggled a lot to solve the problem.
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