-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathanimated.css
163 lines (155 loc) · 3.31 KB
/
animated.css
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url(font/HMP\ Jellyka\ Bees\ Antique\ Handwriting.ttf);
@import url(font/SVN-Fiolex\ Girls.ttf);
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
@font-face {
font-family: "HMP Jellyka BeesAntique Hand";
src: url(font/HMP\ Jellyka\ Bees\ Antique\ Handwriting.ttf);
}
.anhSon {
width: 150px;
height: 150px;
background: url("imageSon/@SownteeNguyen.png") no-repeat top center / cover;
margin: 0 auto;
}
#biet-danh {
font-size: 70px;
font-family: "HMP Jellyka BeesAntique Hand";
src: url(font/HMP\ Jellyka\ Bees\ Antique\ Handwriting.ttf);
}
.education {
text-align: center;
}
.place-items {
display: grid;
height: 100%;
place-items: center;
}
.text > b {
font-size: 50px;
text-align: center;
font-family: "HMP Jellyka BeesAntique Hand";
}
.skill-bars {
padding: 20px 30px;
width: 320px;
background: #d6d6d6;
box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
border-radius: 20px;
color: #000;
}
.skill-bars .bar {
margin: 20px 0;
}
.skill-bars .bar .info {
margin-bottom: 10px;
}
.skill-bars .bar .info span {
font-weight: 500;
font-size: 17px;
opacity: 0;
animation: showText 0.5s 1s linear forwards;
}
@keyframes showText {
100% {
opacity: 1;
}
}
.skill-bars .bar .progress-line {
height: 10px;
width: 100%;
background: #f0f0f0;
position: relative;
transform: scaleX(0);
transform-origin: left;
border-radius: 10px;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05),
0 1px rgba(255, 255, 255, 0.8);
animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}
@keyframes animate {
100% {
transform: scaleX(1);
}
}
.place-items .ten-span .ten-span-1 {
text-align: center;
font-family: "SVN-Fiolex Girls Regular";
font-size: 27px;
}
.bar .progress-line span {
height: 100%;
position: absolute;
border-radius: 10px;
transform: scaleX(0);
transform-origin: left;
background: #000;
animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}
.bar .progress-line.html span {
width: 50%;
}
.bar .progress-line.css span {
width: 35%;
}
.bar .progress-line.js span {
width: 35%;
}
.bar .progress-line.php span {
width: 30%;
}
.bar .progress-line.cpp span {
width: 60%;
}
.progress-line span::before {
position: absolute;
content: "";
top: -10px;
right: 0;
height: 0;
width: 0;
border: 7px solid transparent;
border-bottom-width: 0px;
border-right-width: 0px;
border-top-color: #000;
opacity: 0;
animation: showText2 0.5s 1.5s linear forwards;
}
.progress-line span::after {
position: absolute;
top: -28px;
right: 0;
font-weight: 500;
background: #000;
color: #fff;
padding: 1px 8px;
font-size: 12px;
border-radius: 3px;
opacity: 0;
animation: showText2 0.5s 1.5s linear forwards;
}
@keyframes showText2 {
100% {
opacity: 1;
}
}
.progress-line.html span::after {
content: "50%";
}
.progress-line.css span::after {
content: "30%";
}
.progress-line.js span::after {
content: "30%";
}
.progress-line.php span::after {
content: "25%";
}
.progress-line.cpp span::after {
content: "60%";
}