-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
86 lines (74 loc) · 1.37 KB
/
styles.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
body {
font-family: Arial, sans-serif;
background-color: #f0f4f8;
margin: 0;
padding: 20px;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
h1 {
text-align: center;
margin-bottom: 40px;
}
.form-section {
margin-bottom: 40px;
}
.form-section h2 {
margin-bottom: 20px;
}
.form-group {
position: relative;
margin-bottom: 20px;
}
.form-group input {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
outline: none;
transition: border-color 0.2s;
}
.form-group input:focus {
border-color: #007bff;
}
.form-group label {
position: absolute;
top: 10px;
left: 10px;
font-size: 16px;
color: #999;
transition: all 0.2s;
pointer-events: none;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
top: -15px;
left: 10px;
font-size: 12px;
color: #007bff;
}
button {
padding: 10px 20px;
font-size: 16px;
color: #fff;
background-color: #007bff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s;
}
button:hover {
background-color: #0056b3;
}
.result {
margin-top: 20px;
font-size: 14px;
color: #333;
}