Opie-M
Opie-M

Reputation: 39

What is / in CSS?

background: url(image) 0 / cover fixed;

Why is there:

What does that mean/do in CSS?

Upvotes: 3

Views: 68

Answers (1)

Vlad Balanescu
Vlad Balanescu

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

Related Questions