forked from thisisarsh1/transo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrough.html
153 lines (136 loc) · 5.11 KB
/
rough.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Document</title>
<style>
body {
background-image: url('https://images.unsplash.com/photo-1549740425-5e9ed4d8cd34?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxjb2xsZWN0aW9uLXBhZ2V8MXwzOTU0NTB8fGVufDB8fHx8fA%3D%3D'); /* Replace with your background image URL */
background-size: cover;
background-position: center;
background-attachment: fixed;
margin: 0;
padding: 0;
}
.navbar a {
color: white;
text-decoration: none;
font-size: 1.5rem;
}
.nav-item :hover {
color: #6C757D;
}
#brand {
font-size: 2rem !important;
font-weight: 500;
}
section {
position: relative;
z-index: 1;
color: white;
text-align: center;
padding: 80px 0;
}
.parallax-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.parallax-layer img {
width: 100%;
height: auto;
}
.hidden {
opacity: 0;
transition: all 1s;
filter: blur(5px);
transform: translateX(-100%);
}
@media(prefers-reduced-motion) {
.hidden {
transition: none;
}
}
.show {
opacity: 1;
filter: blur(0);
transform: translateX(0);
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid brand">
<a class="navbar-brand " id="brand" href="">Transo</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact Us</a>
</li>
</ul>
</div>
</div>
</nav>
<section class="hidden parallax-layer">
<img src="https://images.unsplash.com/photo-1525919646094-d07bd618cd93?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxjb2xsZWN0aW9uLXBhZ2V8MnwzOTU0NTB8fGVufDB8fHx8fA%3D%3D" alt="Overlay Image"> <!-- Replace with your overlay image URL -->
<h1>i am trying animation</h1>
<p>seeing if it works</p>
</section>
<section class="hidden parallax-layer">
<img src="https://images.unsplash.com/photo-1482784160316-6eb046863ece?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxjb2xsZWN0aW9uLXBhZ2V8M3wzOTU0NTB8fGVufDB8fHx8fA%3D%3D" alt="Overlay Image"> <!-- Replace with your overlay image URL -->
<h1>i think its working</h1>
<p>yes it is</p>
</section>
<section class="hidden parallax-layer">
<img src="https://images.unsplash.com/photo-1495012379376-194a416fcc5f?w=900&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxjb2xsZWN0aW9uLXBhZ2V8NnwzOTU0NTB8fGVufDB8fHx8fA%3D%3D" alt="Overlay Image"> <!-- Replace with your overlay image URL -->
<h1>And it is looking Cool</h1>
<p>Isn't it?</p>
</section>
<footer class="text-center text-lg-start bg-body-tertiary text-muted">
<div class="d-flex justify-content-center justify-content-lg
this isnt working</div>
<div class="me-5 d-none d-lg-block">
<span>Get connected with us on social networks:</span>
</div>
<div>
<a href="#" class="me-4 text-reset">
<i class="fab fa-facebook-f"></i>
</a>
<a href="https://twitter.com/Rehbar2004" class="me-4 text-reset">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="me-4 text-reset">
<i class="fab fa-instagram"></i>
</a>
<a href="https://www.linkedin.com/in/rehbar-khan/" class="me-4 text-reset">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://github.com/thisisarsh1" class="me-4 text-reset">
<i class="fab fa-github"></i>
</a>
</div>
</div>
</footer>
</body>
</html>