background: url(image) 0 / cover fixed;
Why is there:
- A
0
(zero)? - A
/
(forward slash)?
What does that mean/do in CSS?
background: url(image) 0 / cover fixed;
Why is there:
0
(zero)?/
(forward slash)? What does that mean/do in CSS?
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;