Solving Background Overflow With Inherited Border Radii

1 · CSS-Tricks · Oct. 17, 2024, 4:32 p.m.
One of the interesting (but annoying) things about CSS is the background of children’s elements can bleed out of the border radius of the parent element. Here’s an example of a card with an inner element. If the inner element … Solving Background Overflow With Inherited Border Radii originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter....