-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (62 loc) · 1.17 KB
/
Copy pathstyle.css
File metadata and controls
70 lines (62 loc) · 1.17 KB
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
* {
margin: 0;
padding: 0;
}
body{
background-color: rgb(39, 57, 40);
color: #ffffff;
}
header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 50px;
font-family: 'Rubik Iso', cursive;
}
header p {
font-size: 3rem;
text-align: center;
}
h1{
position: relative;
font-size: 4rem;
color: #252839;
-webkit-text-stroke: #000000;
}
h1::before {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
width: 0;
height: 100%;
color: rgb(102, 221, 102);;
-webkit-text-stroke: 0vw #171717;
border-right: 2px solid rgb(102, 221, 102);
overflow: hidden;
animation: animate 6s linear infinite;
}
@keyframes animate{
0%{
width: 0;
}70%{
width: 100%;
}
}
.battery-container {
margin-top: 30px;
display: flex;
flex-direction: column;
align-items: center;
}
.item {
font-family: 'Poppins', sans-serif;
display: flex;
justify-content: space-between;
margin-bottom: 20px;
box-shadow: 0px 0px 10px rgb(77, 232, 77);
padding: 20px;
width: 50%;
border-radius: 10px;
}