-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
69 lines (65 loc) · 1.12 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
form {
background: #fff;
padding: 1rem;
border-radius: 5px;
font-family: san-serif;
}
form h1, div > label, input[type='button'] {
text-transform: capitalize;
}
label {
display: block;
opacity: 0.5;
}
input,select, h3 {
border: none;
border-bottom: 1px solid rgba(0,0,0,0.5);
outline: none;
padding: 0.3rem;
font-size: 1.2rem;
}
input[type='button'] {
width: 100%;
padding: 1rem;
background: #2b82ff;
color: #fff;
font-size: larger;
font-weight: bolder;
border-radius: 5px;
}
select {
width: 100%;
background: transparent;
margin: 10px 0;
}
section, form > div{
margin: 1rem 0;
}
form > section {
display: grid;
grid-template-columns: 1fr;
grid-gap: 2rem;
align-items: center;
justify-content: center;
}
@media screen and (min-width: 600px) {
form > section {
display: grid;
grid-template-columns: repeat(2,1fr);
grid-gap: 2rem;
align-items: center;
justify-content: center;
}
}