-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
55 lines (48 loc) · 1.11 KB
/
index.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
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap');
body{
background: #F8F8F8;
}
*, *::before, *::after{
box-sizing: border-box;
}
.custom-field{
position: relative;
font-size: 14px;
padding-top: 20px;
margin-top: 5px;
}
.custom-field input{
padding: 12px;
width: 300px;
font-size: 14px;
border-radius: 3px;
border: 1.5px solid gray;
outline-color: deepskyblue;
}
.custom-field .placeholder{
position: absolute;
left: 12px;
top: calc(50% + 10px);
transform: translateY(-50%);
color: #aaa;
transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}
.custom-field input:valid + .placeholder,
.custom-field input:focus + .placeholder{
top: 21px;
font-size: 10px;
color: #222;
padding: 5px;
background: white;
}
.message{
font-size: 70px;
font-family: 'Ubuntu', sans-serif;
color: steelblue;
}
.success{
font-size: 18px;
margin-top: 15px;
color: seagreen;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}