Background Properties Shorthand in CSS


Use the background shorthand property to set several background properties at once.

Source Code

.background-shorthand {
    background: url('image.jpg') no-repeat center/cover fixed;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments