Answers for "add a full width image using css"

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
0

full size img

.largeartwork {
    width: 300px;
    height: 300px;
    border: 3px solid black;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
Posted by: Guest on September-21-2021

Code answers related to "add a full width image using css"

Browse Popular Code Answers by Language