css - My image keeps getting zoomed in using parallax scrolling. -


any gladly appreciated, trying parallax scrolling, image keeps getting zoomed in.

parallax: parallax http://www.shck.mx/tests/parallax.png

no-parallax: no-parallax http://www.shck.mx/tests/noparallax.png

i using css code:

#about { background: url(../images/nevsky.jpg) 50% 0 no-repeat fixed;  height: 400px;   margin: 0px auto; margin-left: -80px; margin-top: 0px;  width: 120%;  max-width: 1320px;  position: relative;  box-shadow: 0 0 50px rgba(0,0,0,0.8); box-sizing: border-box; } 


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -