My div currently has a background image set with background-image url()
, but I am trying to achieve the following look:
background-image url('example') cover center
Here is my current code:
div {
background-image: url(example);
background-size: cover;
background-position: center;
}
I want to modify it to look like this:
div {
background-image: url(example) cover center;
}