Answers for "background not taking full width of page"

CSS
2

make background image full width

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;
}
Posted by: Guest on June-22-2021

Code answers related to "background not taking full width of page"

Browse Popular Code Answers by Language