div{
background-color: #???;
z-index: -1;
height: 600px;
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;}
![Cover image for CSS: Add background](https://media.dev.to/cdn-cgi/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8ow1aug9wiws2jxu7kph.png)
For further actions, you may consider blocking this person and/or reporting abuse
div{
background-color: #???;
z-index: -1;
height: 600px;
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;}
For further actions, you may consider blocking this person and/or reporting abuse
Daniel Nagy -
Sergo -
Dimitris Kiriakakis -
Paritosh Chaudhari -
Top comments (0)