Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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 */
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #background #image #fit
ADD COMMENT
Topic
Name
1+9 =