-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (95 loc) · 2.07 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
#title {
margin: 20px;
font-size: 50px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background: -webkit-linear-gradient(0deg, #ff9c12 25%, #ffeb0d);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
#result {
margin: 20px;
font-size: 30px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background: -webkit-linear-gradient(0deg, #ff9c12 25%, #ffeb0d);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
label {
margin: 10px;
font-size: 30px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
}
input[type=text] {
display: block;
text-align: center;
width: 50%;
padding: 12px 20px;
margin: 8px auto;
box-sizing: border-box;
border: 3px solid #ccc;
-webkit-transition: 0.5s;
transition: 0.5s;
outline: none;
font-size: large;
border-radius: 10px;
}
input[type=text]:focus {
border: 3px solid #555;
}
.button {
display: block;
margin: 30px auto;
border-radius: 10px;
position: relative;
background-color: #ffac12;
border: none;
font-size: 25px;
color: #FFFFFF;
padding: 20px;
width: 150px;
text-align: center;
-webkit-transition-duration: 0.4s; /* Safari */
transition-duration: 0.4s;
text-decoration: none;
overflow: hidden;
cursor: pointer;
}
.button:after {
content: "";
background: #ffd380;
display: block;
position: absolute;
padding-top: 300%;
padding-left: 350%;
margin-left: -20px!important;
margin-top: -120%;
opacity: 0;
transition: all 0.8s
}
.button:active:after {
padding: 0;
margin: 0;
opacity: 1;
transition: 0s
}
.container {
display: flex;
flex-direction: column-reverse;
justify-content: center;
align-items: center;
text-align: center;
}