Currently on Firefox and Safari the background-attachment: fixed property is working, but is not responding on Chrome.
Here is the page that works in FF & Safari http://prestonmcpeak.com/work/enigma.html
This is the desired effect I'm looking for that is working in all three browsers: http://codyhouse.co/demo/alternate-fixed-scroll-background/index.html
I have a feeling this has to do with a position tag somewhere on the page.
<section class="project-header ">
<div class="project-background show-for-large-up"></div>
<section class="enigma"></section>
</section>
.project-header {
section {
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
z-index: -1;
&.enigma {
background-size: contain;
background-attachment: fixed;
}
}
.project-background {
padding: 20% 0;
margin: 0;
}
.enigma {
background: url(../assets/img/enigma-1-m.jpg) no-repeat center top;
}