-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sachin Verma
committed
Aug 30, 2020
1 parent
5851f47
commit e7531ce
Showing
2 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
body,html{ | ||
height: 100%; | ||
margin: 0; | ||
font-size: 16px; | ||
font-family: "Lato", sans-serif; | ||
font-weight: 400; | ||
line-height: 1.8em; | ||
color: #666; | ||
} | ||
.img1, .img2, .img3 { | ||
position: relative; | ||
opacity: 0.75; | ||
background-position: center; | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
background-attachment: fixed; | ||
} | ||
.img1{ | ||
background-image: url(parallax.jpg); | ||
min-height: 100%; | ||
|
||
} | ||
.img2{ | ||
background-image: url(https://jolly-kalam-23776e.netlify.app/parallaxsite/img/image2.jpg); | ||
min-height: 400px; | ||
} | ||
.img3{ | ||
background-image: url(https://jolly-kalam-23776e.netlify.app/parallaxsite/img/image3.jpg); | ||
min-height: 400px; | ||
} | ||
|
||
.section { | ||
text-align: center; | ||
padding: 50px 80px; | ||
} | ||
.section-dark { | ||
background-color: #282e34; | ||
color: #ddd; | ||
} | ||
.section-light { | ||
background-color: #f4f4f4; | ||
color: #666; | ||
} | ||
|
||
.ptext{ | ||
position:absolute; | ||
top:50%; | ||
width:100%; | ||
text-align:center; | ||
color:#000; | ||
font-size:27px; | ||
letter-spacing:8px; | ||
text-transform:uppercase; | ||
} | ||
.ptext .border{ | ||
background-color:#111; | ||
color:#fff; | ||
padding:20px; | ||
} | ||
|
||
.ptext .border.trans{ | ||
background-color:transparent; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta description=""> | ||
<meta keywords=""> | ||
<title>Parallax</title> | ||
<link rel="stylesheet" type="text/css" href="Parallax.css"> | ||
</head> | ||
<body> | ||
<div class="img1"> | ||
<div class="Ptext"> | ||
<span class="border"> | ||
SACHIN VERMA | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<section class="section section-light"> | ||
<h2>SECTION 1</h2> | ||
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sunt, laudantium, quibusdam? Nobis, delectus, commodi, fugit amet tempora facere dolores nisi facilis consequatur, odio hic minima nostrum. Perferendis eos earum praesentium, blanditiis sapiente labore aliquam ipsa architecto vitae. Minima soluta temporibus voluptates inventore commodi cumque esse suscipit optio aliquam et, dolorem a cupiditate nihil fuga laboriosam fugiat placeat dignissimos! Unde eveniet placeat quisquam blanditiis voluptatem doloremque fugiat dolor repellendus ratione in. Distinctio provident dolorem modi cumque illo enim quidem tempora deserunt nostrum voluptate labore repellat quisquam quasi cum suscipit dolore ab consequuntur, ad porro earum temporibus. Laborum ad temporibus ex, omnis! | ||
</p> | ||
</section> | ||
|
||
<div class="img2"> | ||
<div class="Ptext"> | ||
<span class="border-trans"> | ||
SACHIN VERMA | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<section class="section section-dark"> | ||
<h2>SECTION 2</h2> | ||
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sunt, laudantium, quibusdam? Nobis, delectus, commodi, fugit amet tempora facere dolores nisi facilis consequatur, odio hic minima nostrum. Perferendis eos earum praesentium, blanditiis sapiente labore aliquam ipsa architecto vitae. Minima soluta temporibus voluptates inventore commodi cumque esse suscipit optio aliquam et, dolorem a cupiditate nihil fuga laboriosam fugiat placeat dignissimos! Unde eveniet placeat quisquam blanditiis voluptatem doloremque fugiat dolor repellendus ratione in. Distinctio provident dolorem modi cumque illo enim quidem tempora deserunt nostrum voluptate labore repellat quisquam quasi cum suscipit dolore ab consequuntur, ad porro earum temporibus. Laborum ad temporibus ex, omnis! | ||
</p> | ||
</section> | ||
|
||
<div class="img3"> | ||
<div class="Ptext"> | ||
<span class="border trans"> | ||
SACHIN VERMA | ||
</span> | ||
</div> | ||
</div> | ||
<section class="section section-dark"> | ||
<h2>SECTION 3</h2> | ||
<p> Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sunt, laudantium, quibusdam? Nobis, delectus, commodi, fugit amet tempora facere dolores nisi facilis consequatur, odio hic minima nostrum. Perferendis eos earum praesentium, blanditiis sapiente labore aliquam ipsa architecto vitae. Minima soluta temporibus voluptates inventore commodi cumque esse suscipit optio aliquam et, dolorem a cupiditate nihil fuga laboriosam fugiat placeat dignissimos! Unde eveniet placeat quisquam blanditiis voluptatem doloremque fugiat dolor repellendus ratione in. Distinctio provident dolorem modi cumque illo enim quidem tempora deserunt nostrum voluptate labore repellat quisquam quasi cum suscipit dolore ab consequuntur, ad porro earum temporibus. Laborum ad temporibus ex, omnis! | ||
</p> | ||
</section> | ||
|
||
|
||
<div class="img1"> | ||
<div class="Ptext"> | ||
<span class="border"> | ||
SACHIN VERMA | ||
</span> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |