-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccordion.css
60 lines (56 loc) · 1.44 KB
/
accordion.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
body {
background-color: black;
color: white;
}
.accordion {
overflow-x: hidden;
}
.container {
margin: 10px;
border-radius: 10px;
height: auto;
padding: 20px;
background-color: white;
align-content: center;
color: black;
text-align: center;
text-transform: uppercase;
}
@media(min-width: 768px){
.container{
width: 50%;
margin:12px auto;
}
}
.openbuttons {
float: right;
background-color: #42445A00;
border: none;
font-weight: bold;
font-size: 25px;
transition: 3s ease-in;
}
.closebuttons {
float: left;
background-color: #42445A00;
border: none;
font-weight: bold;
font-size: 25px;
display: none;
transition: 3s ease;
}
.content {
display: none;
transition: 3s ease-in-out;
}
.multi-left-btn{
position: absolute; left: 10px; top: 50%; transform: translateY(-50%); z-index: 10; color: orange; border: none; cursor: pointer;background-color: transparent;border: 0.1px solid white;font-size: 25px;
}
.multi-right-btn{
position: absolute; right: 10px; top: 50%; transform: translateY(-50%); z-index: 10; color: orange; border: none; cursor: pointer; background-color: transparent;
font-size: 25px;
border: 0.1px solid whitesmoke;
}
#multi-btn-cont{
position: relative; width: 100%; overflow: hidden;
}