-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarfloat.css
More file actions
48 lines (43 loc) · 757 Bytes
/
carfloat.css
File metadata and controls
48 lines (43 loc) · 757 Bytes
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
.card{
float: left;
width: 400px;
margin: 20px;
padding: 15px;
border: 1px solid #fff;
border-radius: 8px;
background-color: #fff;
box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.1);
}
.card img{
width: 100%;
border-radius: 5px;
}
.car-content h3{
text-align: center;
font-size: 1.2rem;
color: teal;
margin-bottom: 20px;
}
.car-content{
padding: 10px 0px;
}
.btn{
outline: none;
border: none;
background-color: teal;
color: #fff;
text-decoration: none;
padding: 10px 15px;
border-radius: 5px;
margin-left: 130px;
}
.card .btn:hover{
border: 2px solid teal;
background-color: #fff;
color: teal;
}