-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (71 loc) · 1.16 KB
/
style.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
* {
font-family: Helvetica, sans-serif;
}
body {
height: 100vh;
}
header {
margin: 5em;
text-align: center;
}
h1 {
color: rgb(255, 123, 0);
}
h2 {
font-size: 2em;
}
p {
font-size: 1.5em;
color: rgb(255, 123, 0);
}
main {
height: 100vh;
display: flex;
flex-direction: column;
margin-top: 10%;
align-items: center;
text-align: center;
}
input {
font-size: 1.5em;
text-align: center;
color: rgb(255, 123, 0);
padding: 0.5em;
border: 2px solid black;
border-radius: 50px;
outline: none;
caret-color: rgb(255, 123, 0);
}
button {
width: 12em;
font-size: 1.5em;
background-color: rgb(255, 123, 0);
color: white;
padding: 0.5em;
border-radius: 50px;
outline: none;
cursor: pointer;
}
.display--none {
display: none;
}
.input--false {
color: red;
border-color: red;
animation: error 0.1s 3 0s linear;
}
@keyframes error {
0% {}
25% {
transform: translateX(5px);
}
50% {
transform: translateX(0);
}
75% {
transform: translateX(-5px);
}
100% {
transform: rotate(xx) translateX(0);
}
}