-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsive-index.css
107 lines (97 loc) · 2.1 KB
/
responsive-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
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
@media (max-width:500px) {
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
div.whole h3{
transform: none;
text-align: center;
}
div.main header h1{
margin: 2% auto;
justify-content: center;
width: 85%;
display: inline-flex;
}
div.main h2{
text-align: center;
padding: 2% 1% 5% 1%;
margin: 2% auto;
width: 80%;
/* color: darkblue; */
}
div.whole {
display: block;
width: 100%;
margin: 0 auto;
}
div.whole>div {
margin-bottom: 7%;
width: 80%;
margin-left: auto;
margin-right: auto;
}
div.whole > div form div.item {
color: aliceblue;
display: flex;
/* border: 2px solid black; */
padding: 1%;
}
div.whole > div form div.item input {
width: 90%;
border: none;
border-radius: 2%;
font-size: 1rem;
padding: 1%;
margin: 1%;
}
div.whole > div form div.item span.icons{
margin: 1%;
padding: 1%;
width:40%;
}
div.whole > div form div.item span.icons button{
width: 30%;
border: none;
}
}
@media (min-width: 501px) and (max-width: 960px) {
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
div.whole {
display: block;
width: 85%;
margin: 0 auto;
}
div.whole>div {
margin-bottom: 7%;
}
form div.item {
color: aliceblue;
display: flex;
/* border: 2px solid black; */
padding: 1%;
}
form div.item span.icons {
margin: 1%;
padding: 1%;
width: 35%;
}
}
@media (min-width: 961px) and (max-width: 1300px) {
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
div.whole {
width: 95%;
margin: 0 auto;
display: grid;
grid-template-columns: 48% 48%;
}
}