html {
height: 100%
}
body {
background-image:url("../images/myImage.jpg");
background-repeat: no-repeat;
background-size: 100% 100%;
}
body {
background: url(path/to/bg-image.jpg) no-repeat center center fixed;
background-size: cover;
}
html {
height: 100%;
}
body {
color: #999;
background: url('../images/background/main_bg.jpg') no-repeat center center fixed;
font-family: 'Roboto', sans-serif;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
Code Example |
---|
Css :: background color transparent |
Css :: steps() property css |
Css :: navigation bar stays on top |
Css :: npm scss |
Css :: hvad er css |
Css :: how to set height equal to dynamic width pure css |
Css :: css element same line |
Css :: flexbox stretch |
Css :: center css elements |
Css :: line break inside content css |
Css :: css invert text color |
Css :: css div overlay div |
Css :: apply color tint to image |
Css :: css style for the first element only |
Css :: change scrollbar color |
Css :: image resize css |
Css :: position sticky css |
Css :: scss hover |
Css :: reset id sequence postgres |
Css :: texting getting out of box css |
Css :: css center text |
Css :: css position element in the middle of a header |
Css :: css how does hsl work |
Css :: fixed header and footer css |
Css :: input outline focus |
Css :: how to set fallback font in css |
Css :: vertical hr |
Css :: css make input unselectable |
Css :: terraform rds |
Css :: Horizontal Scrolling Bopostrap CSS |