Good evening,
I am trying to create parallax webdesign and I would like to animate background image at one section. I mean that scroll effect, which moves the image a little bit. Here is the URL of my project: http://novyweb.mobydyk.cz/h-version/
I am talking about the fourth section, where is Mac on the background. Its display should slowly appear from bottom onscroll. The same effect as here: https://ihatetomatoes.net/demos/parallax-scroll-effect/ (on the slide with green fields...)
I've tried some javascript/jQuery functions from few tutorials, but nothing worked for me...
This is first time I am trying to make something like this... Thanks for understanding and for each advice! Codes are below:
CSS:
#nase-prace {
width:100%;
height: auto;
min-height: 120%;
display: block;
background-color: white;
background: url('img/slide4.png') no-repeat top center;
background-position: 30% -40%;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.section {
position: absolute;
left: 0;
}
HTML:
<div id="nase-prace" class="section">
</div>
