-
Notifications
You must be signed in to change notification settings - Fork 258
/
Copy pathhow.css
97 lines (84 loc) · 1.58 KB
/
how.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
.how{
position: relative;
width: 100%;
min-height: 80vh;
box-sizing: border-box;
padding: 100px 150px;
display: flex;
flex-direction: column;
align-items: center;
}
.how h1{
font-size: 3rem;
margin-bottom: 30px;
z-index: 1;
}
.how p{
font-size: 1.2rem;
width: 50%;
margin-bottom: -10px;
z-index: 1;
}
.how p b{
font-weight: 500;
color: var(--orange);
}
.how p i{
color: var(--brown);
}
.how p a{
/* text-decoration: none; */
font-weight: 500;
color: var(--orange);
}
.how img{
position: absolute;
top: 50%;
transform: translateY(-50%) rotate(25deg);
left: -300px;
height: 600px;
border-radius: 20px;
z-index: 0;
}
/* Small laptops */
@media (max-height: 600px){
.how{
min-height: 120vh;
padding-bottom: 150px;
}
.how h1{
font-size: 2.5rem;
margin-bottom: 20px;
}
.how p{
font-size: 1.1rem;
line-height: 1.8rem;
width: 50%;
margin-bottom: -1px;
}
}
@media (max-height: 500px) and (max-width: 450px){
.how{
min-height: 150vh;
}
}
@media (max-width: 450px){
.how{
/* display: none; */
padding: 30px 0;
}
.how img{
display: none;
}
.how h1{
font-size: 2rem;
margin-bottom: 20px;
text-align: center;
}
.how p{
font-size: 1rem;
line-height: 1.7rem;
width: 90%;
margin: 5px;
}
}