Fundamentals Play Properties Selectors
all animation appearance backface-visibility background background-attachment background-color background-image border border-radius bottom box-shadow box-sizing color cursor display float font-family font-size font-style font-weight height left letter-spacing line-height list-style margin max-height max-width min-height min-width opacity overflow padding position right text-align text-decoration top vertical-align visibility width z-index

background-color

See the Pen background-color by Kévin Bizien (@kbizien) on CodePen.

La propriété background-color définit la couleur d'arrière plan d'un élément.

Aller plus loin

  • Almanac CSS-Tricks
  • Référence Codrops
  • Documentation MDN
contact

Kevin Bizien

Product Designer
Design System Jedi

Want to tell me about your design project? Contact me at bonjour@kevinbizien.com and we can start talking soon!