CSS Property background

The background property could be a shorthand property for setting most background properties at identical place within the sheet.

Just like alternative background properties, it will take multiple comma-separated values, wherever every price corresponds to a background layer.

CSS Property background Value

background-image

A background image can also be specified as part of the background shorthand property.

background-position

Background position can also be specified as part of the background shorthand property.

background-size

Background size can also be specified as part of the background shorthand property.

background-repeat

Background repeat can also be specified as part of the background shorthand property.

background-origin

Background origin can also be specified as part of the background shorthand property.

background-clip

Background clip can also be specified as part of the background shorthand property.

background-attachment

Background attachment can also be specified as part of the background shorthand property.

background-color

Background color can also be specified as part of the background shorthand property.

Desktop Browser Support

Mobile Browser Support

Examples

.class{
    background-color: transparent;
    background-position: 0% 0%;
    background-size: auto auto;
    background-repeat: repeat repeat;
    background-clip: border-box;
    background-origin: padding-box;
    background-attachment: fixed;
    background-image: none;
}

One comment

  1. Sweet website , super pattern, really clean and apply genial.

Leave a Reply