Answer the question
In order to leave comments, you need to log in
How to solve the problem of parallax with cross-browser compatibility?
Hello!
There is such a page on which there is (should be) a parallax picture.
Parallax works in Safari 9.0 and Firefox 38.0.5, but it doesn't work in Chrome 44.0 and Opera 30.0. I'm even afraid to open the site in IE 8,9,10.
Parallax code in CSS:
.rus {
background: url(img/redsquare.jpg) no-repeat center center;
z-index: 2;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
background-attachment: fixed;
padding: 30px 0;
}
<section class="rus ruover">
<div class="section-title text-light"><h2>Nabízíme níže uvedené typy jazykových kurzů:
<!-- <span>but <em>design</em> 'aint one</span> --></h2>
</div>
<!-- <a href="#portfolio" class="down-arrow-btn"><i class="fa fa-chevron-down"></i></a> -->
</section>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question