Solving Background Overflow With Inherited Border Radii
Posté : 07 nov. 2024, 21:02
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 is given a background, it can bleed out of the card’s border.
En savoir plus...