-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
66 lines (63 loc) · 1.22 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
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@700&family=Lexend+Deca:wght@300&display=swap');
.flex-container{
display: flex;
justify-content: center;
background-color: #fff;
margin: 5% 15% 1%;
}
.sedan,.suvs,.luxury{
text-align: left;
line-height: 1.5;
padding: 20px 40px;
}
.sedan{
background-color: hsl(31, 77%, 52%);
border-radius: 10px 0 0 10px;
}
.suvs{
background-color: hsl(184, 100%, 22%);
}
.luxury{
background-color: hsl(179, 100%, 13%);
border-radius: 0 10px 10px 0;
}
img{
padding: 30px 0px;
}
h1{
padding: 20px 0;
color: hsl(0, 0%, 95%);
font-family: 'Big Shoulders Display', cursive;
font-size: 2rem;
font-weight: 700;
}
p{
width: 85%;
color: hsla(0, 0%, 100%, 0.75);
font-family: 'Lexend Deca', sans-serif;
font-size: 1rem;
font-weight: 300;
}
.learn {
border-radius: 15px;
border: none;
padding: .5rem 2rem;
margin: 40px 0;
}
.one{
color: hsl(31, 77%, 52%);
}
.two{
color: hsl(184, 100%, 22%);
}
.three{
color: hsl(179, 100%, 13%);
}
@media (max-width:768px){
.sedan{
border-radius: 10px 10px 0 0;
}
.luxury{
border-radius: 0 0 10px 10px;
}
}