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.

enter image description here

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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -