I had this:
background-size: cover;
background-position: 50% 50%;
background-repeat: no-repeat;
I folded position
and repeat
into background
, but the end results causes the background-size property to be overriden:
background-size: cover;
background: no-repeat 50% 50%;
Is it possible to folder background-size: cover into the shorthand? I attempted background: no-repeat cover 50% 50%
but that's invalid.