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 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;" -->
Original file line number Diff line number Diff line change 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 {
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 {
Original file line number Diff line number Diff line change 1717 </ section >
1818 </ body >
1919</ html >
20+ <!-- style="border:2px solid black" -->
Original file line number Diff line number Diff line change 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 ;
Original file line number Diff line number Diff line change 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
4444a : hover : before {
45- transform : translateY (0 );
45+ transform : translateY (0% );
4646}
You can’t perform that action at this time.
0 commit comments