-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (88 loc) · 1.97 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
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
98
99
100
*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
font-family: Arial, Helvetica, sans-serif;
}
body{
background: linear-gradient(to right, aqua, rgb(166, 122, 236));
}
#card-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 200px;
}
.card {
width: 300px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 10px;
overflow: hidden;
}
.card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.card-content {
padding: 20px;
}
.card-content h3 {
font-size: 20px;
margin-bottom: 10px;
text-transform: capitalize;
}
.card-content p {
font-size: 14px;
color: #555;
line-height: 1.6;
}
.tech-btn p {
background: linear-gradient(to bottom, rgba(20, 126, 247, 0.932), rgba(0, 82, 165, 0.932));
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 0 rgba(255, 255, 255, 0.2);
max-width: 90px;
text-align: center;
border: none;
border-radius: 50px;
color: #fff;
}
.food-btn p {
background: linear-gradient(to bottom, rgba(235, 129, 8, 0.932), rgba(255, 129, 71, 0.932));
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 0 rgba(255, 255, 255, 0.2);
max-width: 49px;
text-align: center;
border: none;
border-radius: 50px;
color: #fff;
}
.automobile-btn p {
background: linear-gradient(to bottom, rgba(255, 0, 0, 0.932), rgba(238, 44, 44, 0.932));
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), inset 0 -2px 0 rgba(255, 255, 255, 0.2);
max-width: 90px;
text-align: center;
border: none;
border-radius: 50px;
color: #fff;
}
.person img{
margin-left: 5px;
height: 40px;
width: 40px;
border-radius: 50%;
}
.person-content{
display: inline-block;
vertical-align: middle;
margin-left: 10px;
}
.person-content h5 {
margin: 0;
font-size: 16px;
}
.person-content p {
margin: 0;
font-size: 12px;
color: #777;
}