I have two fixed images on my website. The first one without linear gradient works fine on safari but as soon as I try to apply linear-gradient to the second image it disappears. I put -webkit- prefix but no success. I followed this link as well. Can someone tell me what is causing this issue ?
.intro {
-webkit-background: url('../images/intro.jpg') no-repeat;
background: url('../images/intro.jpg') no-repeat;
background-attachment: fixed;
background-size: cover;
background-position: center center;
padding-top: 150px;
padding-bottom: 120px;
text-align: center;
}
.second-bg {
background: linear-gradient(to bottom, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .8) 59%, rgba(0, 0, 0, 0.65) 100%), url('../images/contact.jpg') no-repeat;
background: -webkit-linear-gradient(to bottom, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .8) 59%, rgba(0, 0, 0, 0.65) 100%), url('../images/contact.jpg') no-repeat;
background-position: center center;
background-size: cover;
padding-top: 100px;
background-attachment: fixed;
}