How to make background image stay the same size on zoom in and out
Go to solution
Solved by Fredrikmikael,
Fixed it
body{background-image: url('images/cswp.jpg');background-attachment: fixed;background-repeat: repeat-x;background-size: contain;-moz-background-size: contain;}
body
{
background-image: url('images/cswp.jpg');
background-attachment: fixed;
background-size: cover;
}
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now