Answers for "select width on an image to fill parent container"

CSS
1

how to make img cover parent div

img {
	object-fit: cover;
}
Posted by: Guest on February-27-2021
0

image to fill container size

background-size: 1000px 300px;
  backdrop-filter: blur(5px);
  background-position: center;
  background-repeat: no-repeat;
Posted by: Guest on October-01-2021

Code answers related to "select width on an image to fill parent container"

Browse Popular Code Answers by Language