Answer»
| COMMANDS | DESCRIPTION | SYNTAX |
|---|
| Background Image | Sets the background image in a div. An element's background-image attribute specifies one or more background images. |
background-image: url() |
|---|
| Background Repeat | Sets whether the background is to be repeated or not, in other words, it determines whether or not the background picture will be repeated. |
background-repeat: repeat-x | repeat-y | repeat | space | round | no-repeat |
|---|
| Background Attachment | Sets the background image scroll or fixed. CSS's background-attachment attribute controls how the background moves in relation to the viewport. |
background-attachment: scroll | fixed | local | initial | inherit |
|---|
| Background Color | Set the background colour of the div or container. |
background-color: #2AA9E0 |
|---|
| Background Position | Sets the position of the background. |
background-position: top | right | bottom | left | center |
|---|
| Background Opacity | The opacity property specifies the opacity/transparency of an element. It can take a value from 0.0 - 1.0. The lower value, the more transparent it is. |
div {background-color: green; and opacity: 0.3}; |
|---|
Different properties and how it works:
|