-
Notifications
You must be signed in to change notification settings - Fork 1
/
parallax.html
53 lines (49 loc) · 1.52 KB
/
parallax.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>CSS Parallax Effect</title>
<link rel="stylesheet" href="css/styles.css">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon"/>
</head>
<body>
<div class="container">
Your Content Here...Scroll Down
<div class="float">
<div class="btn"></div>
</div>
</div>
<div class="container parallax" id="parallax">
Parallax Container
</div>
<div class="container">
Secondary Content Here
</div>
<div class="footer">
<div class="name">Made By Samyak Jain</div>
<div class="title">
CSS Parallax Effect
</div>
<div class="links">
<a href="https://github.com/jainsamyak" target="_blank">
<img src="images/github.png" alt="" height="25">
</a>
<a href="https://samyak-jain.wixsite.com/home" target="_blank">
<img src="images/web.png" alt="" height="25">
</a>
<a href="https://www.linkedin.com/in/samyakjain330" target="_blank">
<img src="images/linkedin.png" alt="" height="25">
</a>
</div>
</div>
</body>
<script>
function scroll_down(id_to_div) {
document.getElementById(id_to_div).scrollIntoView();
}
</script>
</html>