Layering Multiple Backgrounds in CSS


Layer multiple backgrounds within a single element.

Source Code

.multi-background {
    background-image: url('top-image.png'), url('bottom-image.jpg');
    background-position: center top, center bottom;
    background-repeat: no-repeat;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments