File tree Expand file tree Collapse file tree 5 files changed +10
-8
lines changed
02.Creative Loading Animation
05. Top 5 Creative Buttons/btn1 Expand file tree Collapse file tree 5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 8
8
</ head >
9
9
< body >
10
10
< 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 -->
12
12
<!-- change the video to your own -->
13
13
< source src ="assets/video.mp4 " />
14
14
</ video >
15
15
16
- < section class ="content ">
16
+ < section class ="content " >
17
17
< h1 > Journey</ h1 >
18
18
< a href =""> Explore</ a >
19
19
</ section >
20
20
</ section >
21
21
</ body >
22
22
</ html >
23
+ <!-- style="border:2px solid black;" -->
Original file line number Diff line number Diff line change 28
28
}
29
29
30
30
.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 */
33
33
}
34
34
35
35
.content a {
40
40
border : 2px solid white;
41
41
padding : 14px 50px ;
42
42
margin-top : 20px ;
43
- transition : 0.5s ;
43
+ transition : 0.5s ; /* it defines hover speed*/
44
44
}
45
45
46
46
.content a : hover {
Original file line number Diff line number Diff line change 17
17
</ section >
18
18
</ body >
19
19
</ html >
20
+ <!-- style="border:2px solid black" -->
Original file line number Diff line number Diff line change 31
31
}
32
32
33
33
.loader .loading .one {
34
- animation-delay : 0.3s ;
34
+ animation-delay : 0.3s ; /*defines when the animation will start for this element */
35
35
}
36
36
.loader .loading .two {
37
37
animation-delay : 0.4s ;
Original file line number Diff line number Diff line change 23
23
transition : all 1s ;
24
24
}
25
25
26
- a : before {
26
+ a :: before {
27
27
content : "DOWNLOAD" ;
28
28
font-weight : bold;
29
29
color : # 000 ;
@@ -42,5 +42,5 @@ a:before {
42
42
}
43
43
44
44
a : hover : before {
45
- transform : translateY (0 );
45
+ transform : translateY (0% );
46
46
}
You can’t perform that action at this time.
0 commit comments