Answers for "how to make a background img cover the whole div"

CSS
0

how to cover entire div with background image

.divname{
	background-image: url(""); 
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%; 
    height: 100%; 
    
}
Posted by: Guest on September-09-2021

Code answers related to "how to make a background img cover the whole div"

Browse Popular Code Answers by Language