Order summary card with HTML and CSS

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?
Please log in to post a comment
Log in with GitHubCommunity feedback
- P@katrien-s
Since you set a
border-radius
on your.container
, you can just useoverflow: hidden
on the.header
.header { overflow: hidden; }
Marked as helpful
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