CSS Background Cheat Sheet

The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.

background-image: url()Background Image
background-repeat: repeat-x | repeat-y | repeat | space | round | no-repeatBackground Repeat
background-attachment: scroll | fixed | local | initial | inheritBackground Attachment
background-color: #2AA9E0Background Color
background-position: top | right | bottom | left | centerBackground Position

Leave a Reply

Your email address will not be published. Required fields are marked *