-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypingSpeed.css
More file actions
109 lines (96 loc) · 1.86 KB
/
Copy pathtypingSpeed.css
File metadata and controls
109 lines (96 loc) · 1.86 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
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Poppins', sans-serif;
background: url(image/bg.jpg) no-repeat center center fixed;
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
@keyframes fadeInScale {
0% {
opacity: 0;
transform: scale(0.8);
}
100% {
opacity: 1;
transform: scale(1);
}
}
.container{
width: 80vmin;
padding: 30px;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-radius: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
animation: fadeInScale 0.5s ease-in-out;
}
.title{
color: black;
font-size: 25px;
margin-bottom: 20px;
text-align: center;
}
h1{
font-size: 30px;
margin-bottom: 20px;
color: #333;
}
.quote_container{
position: relative;
background-color: rgba(51, 51, 51, 0.5); /* #333 with 50% opacity */
color: white;
padding: 20px;
border-left: 4px solid #25a4ca;
margin-bottom: 20px;
}
#textarea{
position: relative;
margin-bottom: 20px;
}
#textInput{
width: 100%;
min-height: 100px;
padding: 10px;
border: 1px solid #333;
border-radius: 4px;
font-size: 16px;
resize: none;
}
#timer{
position: absolute;
bottom: 5px;
right: 5px;
font-size: 14px;
font-weight: bold;
color: black;
width: 100px;
padding: 4px;
border-radius: 5px;
}
#startButton{
background-color: #25a4ca;
height: auto;
width: auto;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 16px;
cursor: pointer;
}
#startButton:hover{
background-color: #333;
}
#result{
font-weight: bold;
margin-top: 20px;
}