Skip to content

Commit

Permalink
Create CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
radipu authored Jun 2, 2021
0 parents commit 203ac1c
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions CSS
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<style>
.collapsible {
padding: 2px;
width: 100%;
border: none;
outline: none;
/* text-align: left; */
font-size: 15px;
}

.active, .collapsible:hover {
background-color: rgba(1, 141, 43, 0.712);
}

.collapsible:after {
content: '\002B';
font-weight: bold;
float: right;
margin-left: 5px;
}

.collapsible.active:after {
content: "\2212";
}

/* .contentshow {
padding: 0 18px;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
} */

.collapsible + .contentshow{
display: none;
transition: max-height 0.2s ease-out;
padding: 0 18px;
}

.collapsible.active + .contentshow{
display: block;
transition: max-height 0.2s ease-out;
padding: 0 18px;
}
</style>

0 comments on commit 203ac1c

Please sign in to comment.