-
Notifications
You must be signed in to change notification settings - Fork 0
/
css.css
56 lines (51 loc) · 955 Bytes
/
css.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
* {
margin: 0;
padding: 0%;
box-sizing: border-box;
font-size: 7%;
}
form {
padding: 20rem;
border-radius: 10rem;
box-shadow: 0rem 0rem 10rem 2rem #ccc;
margin: 0 auto;
width: 35%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
input {
border: none;
padding: 10rem;
width: 95%;
margin-top: 2%;
border-radius: 5rem;
border: 1rem solid #ccc;
font-size: 16rem;
}
#btn {
margin: 0 auto;
width: 50%;
margin: 6rem auto;
margin-top: 3%;
border: none;
}
input[type="submit"] {
text-decoration: none;
background-color: white;
border-radius: 20rem;
border: 1rem solid #ccc;
box-shadow: 0rem 0rem 10rem 2rem #ccc;
}
@media only screen and (max-width: 600px) {
* {
font-size: 4%;
}
}
@media only screen and (min-width: 601px) and (max-width: 900px) {
* {
font-size: 5%;
}
}
/* how to center a div */