Answers for "image css fit"

CSS
0

how to cover full image in css

body {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
Posted by: Guest on March-03-2020
1

how to contain image size

overflow: 'hidden',
backgroundSize : 'contain',
Posted by: Guest on May-26-2020

Browse Popular Code Answers by Language