html background zoom to fit code example
Example: html background image fit to screen
body {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
body {
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}