Skip to content

Commit 7518ea6

Browse files
update bg-video
1 parent 8214145 commit 7518ea6

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

01.bg-video/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
</head>
99
<body>
1010
<section class="hero">
11-
<video autoplay loop muted plays-inline class="back-video">
11+
<video autoplay loop muted plays-inline class="back-video"> <!-- autoplay attribute will make the video runs automatically -->
1212
<!-- change the video to your own -->
1313
<source src="assets/video.mp4" />
1414
</video>
1515

16-
<section class="content">
16+
<section class="content" >
1717
<h1>Journey</h1>
1818
<a href="">Explore</a>
1919
</section>
2020
</section>
2121
</body>
2222
</html>
23+
<!-- style="border:2px solid black;" -->

01.bg-video/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
}
2929

3030
.content h1:hover {
31-
-webkit-text-stroke: 2px white;
32-
color: transparent;
31+
-webkit-text-stroke: 2px white; /* it actually gives text border */
32+
color: transparent; /* make the color transparent */
3333
}
3434

3535
.content a {
@@ -40,7 +40,7 @@
4040
border: 2px solid white;
4141
padding: 14px 50px;
4242
margin-top: 20px;
43-
transition: 0.5s;
43+
transition: 0.5s; /* it defines hover speed*/
4444
}
4545

4646
.content a:hover {

02.Creative Loading Animation/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@
1717
</section>
1818
</body>
1919
</html>
20+
<!-- style="border:2px solid black" -->

02.Creative Loading Animation/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ body {
3131
}
3232

3333
.loader .loading.one {
34-
animation-delay: 0.3s;
34+
animation-delay: 0.3s; /*defines when the animation will start for this element */
3535
}
3636
.loader .loading.two {
3737
animation-delay: 0.4s;

05. Top 5 Creative Buttons/btn1/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ a {
2323
transition: all 1s;
2424
}
2525

26-
a:before {
26+
a::before {
2727
content: "DOWNLOAD";
2828
font-weight: bold;
2929
color: #000;
@@ -42,5 +42,5 @@ a:before {
4242
}
4343

4444
a:hover:before {
45-
transform: translateY(0);
45+
transform: translateY(0%);
4646
}

0 commit comments

Comments
 (0)