Reputation: 39
background: url(image) 0 / cover fixed;
Why is there:
0
(zero)?/
(forward slash)? What does that mean/do in CSS?
Upvotes: 3
Views: 68
Reputation: 674
This is just a shorthand of specifying the background image for a html page. Completely equivalent to:
background: url(image);
background-margin: 0
background-size: cover;
background-position: fixed;
Upvotes: 2