File tree Expand file tree Collapse file tree 5 files changed +123
-0
lines changed
Fingerprint scanner animation Expand file tree Collapse file tree 5 files changed +123
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Fingerprint scanner animation
2
+ ## tech stack
3
+ - HTML
4
+ - CSS
5
+
6
+ ## LOOK
7
+
8
+
9
+ https://user-images.githubusercontent.com/91176055/171032177-4b6fac64-e2ef-4d7c-a7f7-a41fba8e5f6a.mp4
10
+
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < title > fingerprint scanner</ title >
8
+ < link rel ="stylesheet " href ="style.css ">
9
+ </ head >
10
+ < body >
11
+ < div class ="scan ">
12
+ < div class ="fingerprint "> </ div >
13
+ < h3 > Scanning...</ h3 >
14
+ </ div >
15
+ </ body >
16
+ </ html >
Original file line number Diff line number Diff line change
1
+ * {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ box-sizing : border-box;
5
+ font-family : consolas;
6
+ }
7
+ body
8
+ {
9
+ display : flex;
10
+ justify-content : center;
11
+ align-items : center;
12
+ min-height : 100vh ;
13
+ background : # 111 ;
14
+ }
15
+ .scan {
16
+ position : relative;
17
+ display : flex;
18
+ flex-direction : column;
19
+ align-items : center;
20
+ }
21
+ .scan .fingerprint
22
+ {
23
+ position : relative;
24
+ width : 300px ;
25
+ height : 380px ;
26
+ background : url (fingerPrint_01.png);
27
+ background-size : 300px ;
28
+ }
29
+ .scan .fingerprint ::before
30
+ {
31
+ content : '' ;
32
+ position : absolute;
33
+ top : 0 ;
34
+ left : 0 ;
35
+ width : 100% ;
36
+ height : 100% ;
37
+ background : url (fingerPrint_02.png);
38
+ background-size : 300px ;
39
+ animation : animate 4.001s ease-in-out infinite;
40
+
41
+ }
42
+ @keyframes animate
43
+ {
44
+ 0% , 100%
45
+ {
46
+ height : 0% ;
47
+ }
48
+ 50%
49
+ {
50
+ height : 100% ;
51
+ }
52
+ }
53
+ .scan .fingerprint ::after
54
+ {
55
+ content : '' ;
56
+ position : absolute;
57
+ top : 0 ;
58
+ left : 0 ;
59
+ width : 100% ;
60
+ height : 8px ;
61
+ background : # 3fefef ;
62
+ border-radius : 8px ;
63
+ filter : drop-shadow (0 0 20px # 3fefef )
64
+ drop-shadow (0 0 60px # 3fefef );
65
+ animation : animate_line 4s ease-in-out infinite;
66
+ }
67
+ @keyframes animate_line
68
+ {
69
+ 0% , 100%
70
+ {
71
+ top : 0% ;
72
+ }
73
+ 50%
74
+ {
75
+ top : 100% ;
76
+ }
77
+ }
78
+ .scan h3 {
79
+ text-transform : uppercase;
80
+ font-size : 2em ;
81
+ letter-spacing : 2px ;
82
+ margin-top : 20px ;
83
+ color : # 3fefef ; filter : drop-shadow (0 0 20px # 3fefef )
84
+ drop-shadow (0 0 60px # 3fefef );
85
+ animation : animate_text 0.5s steps (1 ) infinite;
86
+ }
87
+ @keyframes animate_text
88
+ {
89
+ 0% , 100%
90
+ {
91
+ opacity : 0 ;
92
+ }
93
+ 50%
94
+ {
95
+ opacity : 1 ;
96
+ }
97
+ }
You can’t perform that action at this time.
0 commit comments