This is my css that adds images for parallax scrolling. It works fine, but when it comes to the mobile view, the image is showing but not as the responsive full image.
#parallax-world-of-ugg .parallax-two {
padding-top: 200px;
padding-bottom: 200px;
overflow: hidden;
position: relative;
width: 100%;
background-image:url(../img/sri-lanka.jpg);
background-attachment: fixed;
background-size: contain;
-moz-background-size: cover;
-webkit-background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
This is mt html:
<div id="parallax-world-of-ugg">
<section>
<div class="title">
<h3>Let's Find out about</h3>
<h1>Trip GO Sri Lanka</h1>
</div>
</section>
<section>
<div class="parallax-one">
<h2></h2>
</div>
</section>
<section>
<div class="block">
<p>
<span class="first-character sc">S</span>ri Lanka is a well known
beauty spot,where people are blindly attracted to visit this
splendid little island,because of its natural,social,cultural &
political background.
</p>
<p class="line-break margin-top-10"></p>
<p class="margin-top-10">
So the Trip Go Sri lanka is here to provide you with all
Facilities to soothe your journey. We help you to explore all
natural,cultural, social destination with best hospitality,
comfort, safety and guidance at the very best based on ECO
tourism
</p>
</div>
</section>
</div>