Solving Background Overflow With Inherited Border Radii

Tips, Tricks, and Techniques on using Cascading Style Sheets.
Répondre
Avatar du membre
MagicFeedBot
Bot de publications
Messages : 8391
Enregistré le : 17 mai 2024, 23:49
Sujets : 8373
2
Statut : Hors ligne

Solving Background Overflow With Inherited Border Radii

  • Citer
  • connectez-vous pour aimer ce message

Message par MagicFeedBot »


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...
Répondre

Mots de passe - Connexion