forked from pavankumar2004/CarWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
85 lines (73 loc) · 1.21 KB
/
Copy pathstyles.css
File metadata and controls
85 lines (73 loc) · 1.21 KB
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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Montserrat', sans-serif;
min-height: 100vh;
color: #555;
}
h2{
text-align: center;
margin-top: 50px;
font-size: 30px;
}
.products{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, auto));
grid-gap: 50px;
margin: 50px auto;
max-width: 1240px;
padding: 20px;
}
.product{
padding: 10px;
/* box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); */
}
.product img{
width: 100%;
display: block;
}
.product .title{
text-align: center;
padding-top: 30px;
padding-bottom: 20px;
font-weight: 600;
text-transform: uppercase;
}
.product .description{
padding: 0 20px 20px 20px;
line-height: 22px;
}
.product .price{
text-align: center;
font-weight: 600;
font-size: 28px;
color: #9b0b03;
padding-top: 30px;
font-family: sans-serif;
text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
transform: rotate(-45deg);
}
.product .cart{
text-align: center;
padding: 15px 0;
margin-top: 40px;
background-color: #3e628f;
color: white;
font-size: 18px;
cursor: pointer;
}
.product .cart i{
padding-left: 10px;
}
.view-more{
margin: 0 auto;
max-width: 1240px;
padding: 20px;
text-align: center;
}
.view-more button{
padding: 10px 25px;
}