css - Why is my web have a split colour in the background -
my webpage (a web im doing learn) have background splitted in 2 parts.
here css code
body { background: #466368; background: -webkit-linear-gradient(#648880, #293f50); background: -moz-linear-gradient(#648880, #293f50); background: linear-gradient(#648880, #293f50); }
your background repeating due height of body try this:
body { background: #466368 no-repeat center center fixed; background: -webkit-linear-gradient(#648880, #293f50) no-repeat center center fixed; background: -moz-linear-gradient(#648880, #293f50) no-repeat center center fixed; background: linear-gradient(#648880, #293f50) no-repeat center center fixed; }
Comments
Post a Comment