-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcarousel.css
More file actions
110 lines (99 loc) · 1.76 KB
/
Copy pathcarousel.css
File metadata and controls
110 lines (99 loc) · 1.76 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
* {
box-sizing: border-box;
}
body {
background: #111;
min-height: 100vh;
padding: 0;
margin: 0;
}
.gallery {
position: relative;
width: 100%;
height:500px;
overflow: hidden;
}
.cards {
position: absolute;
width: 40rem;
height: 25rem;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
li img{
width: 350px;
border: 20px solid blue;
border-radius: 0.8rem;
}
li p{
padding: 8px;
color: #1b1b1b;
margin-bottom: 64px;
}
.cards li {
list-style: none;
padding: 0;
margin: 0;
width: 40rem;
height: 25rem;
text-align: center;
font-size: 2rem;
font-family: sans-serif;
background-color: #9d7cce;
position: absolute;
top: 0;
left: 0;
border-radius: 0.8rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
}
.actions {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
}
.carButton {
display:inline-block;
outline: none;
border: none;
padding: 8px 14px;
background: #414141;
background-image: linear-gradient(to bottom, #575757, #414141);
text-shadow: 0px 1px 0px #414141;
box-shadow: 0px 1px 0px 414141;
color: #ffffff;
text-decoration: none;
margin: 0 auto 10px;
border-radius: 4px;
padding: 12px 25px;
font-family: "Signika Negative", sans-serif;
text-transform: uppercase;
font-weight: 600;
cursor: pointer;
font-size: 13px;
line-height: 18px;
}
.carButton:hover {
background: #57a818;
background-image: linear-gradient(to bottom, #e34646, #a83434);
text-shadow: 0px 1px 0px #32610e;
color: #ffffff;
text-decoration: none;
}
.carButton {
font-size: 20px;
font-weight: 400;
}
a {
color: #88ce02;
text-decoration: none;
}
.drag-proxy {
visibility: hidden;
position: absolute;
}