-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathslider.css
More file actions
110 lines (89 loc) · 1.7 KB
/
slider.css
File metadata and controls
110 lines (89 loc) · 1.7 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
110
body{
display: flex;
flex-direction: row;
background: bisque;
}
.container {
overflow: hidden;
border-radius: 4px;
border: 2px solid rgba(137, 137, 214, 0.863);
}
.container > * {
padding: 0px;
flex: 1 100%;
}
.container ul{
display: flex;
list-style: none;
margin: 0;
padding: 0;
max-height: 250px;
width: 60000px;
}
ul li{
list-style-type: none;
float: left;
margin: 0;
padding: 0;
}
.arrows{
width: 0;
height: 0;
margin: 0px;
position: absolute;
}
.prev {
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-right: 20px solid black;
margin-top: 100px;
margin-left: -30px;
}
.next {
border-top: 20px solid transparent;
border-bottom: 20px solid transparent;
border-left: 20px solid black;
margin-top: -150px;
margin-left: 410px;
}
.prev:hover{
cursor: pointer;
border-right: 20px solid coral;
}
.next:hover{
cursor: pointer;
border-left: 20px solid coral;
}
.dots {
display: flex;
justify-content: space-around;
background-image: linear-gradient(rgba(137, 137, 214, 0.863), rgba(197, 168, 149, 0.945));
border: black solid 0.5px;
min-height: 30px;
}
.dot {
margin-top: 2px;
height: 25px;
width: 25px;
background-color:#bbb;
border-radius: 50%;
}
img,video{
max-height: 250px;
height: 100%;
display: block;
margin: auto;
}
[data-tag="d1"]{
background-color: #000;
}
@media all {
.arrows { flex: 1 0 0; }
}
@media all {
.container ul { flex: 3 0px; }
.prev { order: 1; }
.container ul { order: 2; }
.next { order: 3; }
.dots { order: 4; }
}