-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtry-now.css
97 lines (78 loc) · 1.64 KB
/
try-now.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
.try-now {
margin: 2em;
padding: 0 0 2em 2em;
border-radius: 1em;
background-color: #2345;
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr;
border: 1px solid grey;
}
.try-now div {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
/* DESKTOP AND LARGE SCREEN */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
.try-now img {
height: 400px;
}
.try-now {
padding: 1em;
margin: 1em;
}
.try-now div .try_now-head {
font-size: 2.4em;
line-height: 1.2;
}
}
/* SMALL SCREEN */
@media screen and (min-width: 769px) and (max-width: 1024px) {
.try-now img {
height: 250px;
}
.try-now {
padding: 1em;
margin: 3em 1em 1em 1em;
}
.try-now div .try_now-head {
font-size: 2.2em;
line-height: 1.2;
}
}
@media screen and (min-width: 481px) and (max-width: 768px) {
.try-now img {
height: 200px;
}
.try-now {
padding: 1em;
margin: 0.5em;
margin-top: 3em;
}
.try-now div .try_now-head {
font-size: 1.5em;
line-height: 1.2;
}
.try-now div .view_cta_btn {
font-size: 1em;
}
}
@media screen and (min-width: 360px) and (max-width: 480px) {
.try-now img {
height: 180px;
}
.try-now {
margin: 0 0.5em;
margin-top: 3em;
padding: 2em 0;
}
.try-now div .try_now-head {
font-size: 1.6em;
line-height: 1.2;
}
.try-now div .view_cta_btn {
font-size: 1.2em;
}
}