Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Four Cards

Trey 290

@willetto

Desktop design screenshot for the Four card feature section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I couldn't figure out how to make the accent border not warp with the border-radius. Any ideas?

Community feedback

@dev-gabs

Posted

What I did to solve this "issue" with the border radius was using a div inside the card section with width = 100% and .4rem height with overflow hidden on the card properties. Feel free to check my solution, buddy! https://github.com/dev-gabs/four-cards-hub-challenge

Hope this helps!

Marked as helpful

0
Yonathan 370

@yonathan-palma

Posted

What I can think of is that you control which corners of the border-radius so you can leave the top without rounding example border-radius: 0 0 0.5rem 0.5rem, I hope it helps you.

0

Please log in to post a comment

Log in with GitHub
Discord logo

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