Answers for "background image to fill div without cover property"

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
0

background image fill div

div {
	background-image: url("example.com/image.png");
    background-repeat: no-repeat;
    background-size: cover;
}
Posted by: Guest on February-19-2021

Code answers related to "background image to fill div without cover property"

Browse Popular Code Answers by Language