Design comparison
SolutionDesign
Solution retrospective
What specific areas of your project would you like help with?
how do i round the edges of the image?
Community feedback
- @dedo-devPosted 4 months ago
Hey there, to give the
border-radius
on the image, you need to set it not on.imagen
but on theimg
tag or simply add this class toimg
tag instead of on thediv
. Don't forget to also add analt
text, it's necessary for accessibility purposes.I hope I was helpful, keep coding ✌️
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