-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcollapsible.css
More file actions
executable file
·36 lines (35 loc) · 993 Bytes
/
collapsible.css
File metadata and controls
executable file
·36 lines (35 loc) · 993 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
/* Style the button that is used to open and close the collapsible content */
.collapsible {
color: #000;
cursor: pointer;
border: none;
text-align: left;
outline: none;
font-size: 15px;
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
overflow-x: scroll;
}
.collapsible::-webkit-scrollbar {
display: none;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
color: #000;
}
/* Style the collapsible content. Note: hidden by default */
.content {
padding: 0 18px;
display: none;
overflow: hidden;
overflow-x: scroll;
-ms-overflow-style: none;
scrollbar-width: none;
outline: none;
}
.subsection-title {
border-bottom: 1px solid rgba(185, 185, 185, .6);
}
.subsection-title:hover {
border-bottom: 1px solid rgba(255, 255, 255, 1);
}