how to cover entire div with background image

Solutions on MaxInterview for how to cover entire div with background image by the best coders in the world

showing results for - "how to cover entire div with background image"
Alexandra
30 Oct 2019
1.divname{
2	background-image: url(""); 
3    background-repeat: no-repeat;
4    background-size: cover;
5    width: 100%; 
6    height: 100%; 
7    
8}