-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
154 lines (130 loc) · 3.02 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
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
/* From uiverse.io by @alexruix */
.input-group {
position: relative;
}
.input {
border: solid 1.5px #9e9e9e;
border-radius: 1rem;
background: none;
padding: 1rem;
font-size: 1.5rem;
color: grey;
transition: border 150ms cubic-bezier(0.4,0,0.2,1);
}
.user-label {
position: absolute;
left: 15px;
color:white;
font-weight: bolder;
pointer-events: none;
transform: translateY(1rem);
transition: 150ms cubic-bezier(0.4,0,0.2,1);
}
.input:focus, input:valid {
outline: none;
border: 1.5px solid #1a73e8;
}
.input:focus ~ label, input:valid ~ label {
transform: translateY(-50%) scale(0.8);
background-color: #212121;
padding: 0.2em;
color: #2196f3;
}
*{
background: #212121;
margin: .8rem 2rem;
}
/* From uiverse.io by @menezes11 */
button {
position: relative;
padding: 1em 1.8em;
margin-left: 9rem;
outline: none;
border: 1px solid #303030;
background: #212121;
color: #ae00ff;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 15px;
overflow: hidden;
transition: 0.2s;
border-radius: 20px;
cursor: pointer;
font-weight: bold;
}
button:hover {
box-shadow: 0 0 10px #ae00ff, 0 0 25px #001eff, 0 0 50px #ae00ff;
transition-delay: 0.6s;
}
button span {
position: absolute;
}
button span:nth-child(1) {
top: 0;
left: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #ae00ff);
}
button:hover span:nth-child(1) {
left: 100%;
transition: 0.7s;
}
button span:nth-child(3) {
bottom: 0;
right: -100%;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, #001eff);
}
button:hover span:nth-child(3) {
right: 100%;
transition: 0.7s;
transition-delay: 0.35s;
}
button span:nth-child(2) {
top: -100%;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(180deg, transparent, #ae00ff);
}
button:hover span:nth-child(2) {
top: 100%;
transition: 0.7s;
transition-delay: 0.17s;
}
button span:nth-child(4) {
bottom: -100%;
left: 0;
width: 2px;
height: 100%;
background: linear-gradient(360deg, transparent, #001eff);
}
button:hover span:nth-child(4) {
bottom: 100%;
transition: 0.7s;
transition-delay: 0.52s;
}
button:active {
background: #ae00af;
background: linear-gradient(to top right, #ae00af, #001eff);
color: #bfbfbf;
box-shadow: 0 0 8px #ae00ff, 0 0 8px #001eff, 0 0 8px #ae00ff;
transition: 0.1s;
}
button:active span:nth-child(1)
span:nth-child(2)
span:nth-child(2)
span:nth-child(2) {
transition: none;
transition-delay: none;
}
@media screen and (max-width=600px) {
}
h1{
color: #ae00af;
text-shadow: 5px 5px 10px #2196f3;
font-size: 2rem;
margin-left: 100px;
}