Answers for "css background image fullsize"

CSS
0

css background image size to fit screen

html {
    height: 100%
}
body {
    background-image:url("../images/myImage.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
Posted by: Guest on February-05-2021
0

css full cover background image

body { 
  background: url(path/to/bg-image.jpg) no-repeat center center fixed;
  background-size: cover;
}
Posted by: Guest on March-31-2021

Browse Popular Code Answers by Language