forked from zarif007/RS-Web-Dev
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle2.css
63 lines (50 loc) · 914 Bytes
/
style2.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
* {
background-color: #2C3333;
}
.parent {
display: flex;
justify-content: space-evenly;
align-items: center;
margin-top: 100px;
}
.child-1 {
color: #A5C9CA;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
font-size: 70px;
}
.child-2 {
width: 400px;
border-radius:5%;
}
span {
color: #E7F6F2;
}
@media (min-width: 0px) and (max-width: 480px) {
.parent {
flex-direction: column;
}
.child-1 {
font-size: 40px;
}
}
@media (min-width: 481px) and (max-width: 768px) {
.parent {
flex-direction: column;
}
.child-1 {
font-size: 50px;
}
}
@media (min-width: 769px) and (max-width: 1279px) {
.parent {
flex-direction: row;
}
.child-1 {
font-size: 60px;
}
}
@media (min-width: 1280px) {
.parent {
flex-direction: row;
}
}