Answers for "css background image position fit"

CSS
10

css background image fit

body {
    background-image:    url(images/background.svg);
    background-size:     cover;                      /* <------ */
    background-repeat:   no-repeat;
    background-position: center center;              /* optional, center the image */
}
Posted by: Guest on April-24-2020

Code answers related to "css background image position fit"

Browse Popular Code Answers by Language