Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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%;
}
 
PREVIOUS NEXT
Tagged: #css #background #image #size #fit #screen
ADD COMMENT
Topic
Name
1+1 =