forked from flynnwebdev/dwd-oct24-responsive-design-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (64 loc) · 1.02 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
69
70
71
72
73
74
75
76
77
78
article {
display: flex;
flex-wrap: wrap;
}
article > * {
padding: 1rm;
width: 100%;
height: 300px;
display: flex;
justify-content: center;
align-items: center;
font-size: 1.5rem;
font-family: sans-serif;
color: black;
}
nav {
background-color: #5995DA;
height: 80px;
min-height: auto;
}
header {
background-color: #B2D6FF;
}
main {
background-color: #EAEDF0;
min-height: 600px;
}
#sign-up {
background-color: #D6E9FE;
}
#feature-1 {
background-color: #F5CF8E;
}
#feature-2 {
background-color: #F09A9D;
}
#feature-3 {
background-color: #C8C6FA;
}
/* Tabelet */
@media screen and (min-width: 640px) and (max-width: 999px) {
#sign-up, #feature-1, #feature-2, #feature-3 {
width: 50%;
min-height: 50vw;
}
}
/* Desktop */
@media screen and (min-width: 1000px) {
#feature-2{
order:1;
}
#sign-up {
min-height: auto;
padding: 2rem;
order: 2;
}
main{
order:3;
}
#feature-1, #feature-2, #feature-3 {
width: calc(100%/3);
min-height: 40vw;
}
}