Created
April 11, 2022 10:16
-
-
Save wpflames/3753f04725f75600e7a037e24770fbe4 to your computer and use it in GitHub Desktop.
Accordion styling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Accordion | |
| // ************************ | |
| .accordion-item{ | |
| .accordion-title{ | |
| border-bottom: 1px solid; | |
| padding: 15px 15px 10px; | |
| background: rgba(218,217,234,1); | |
| cursor: pointer; | |
| transition: all 0.3s ease-in-out; | |
| &:hover{ | |
| background: rgba(218,217,234,.6); | |
| padding-left: 25px; | |
| } | |
| } | |
| .accordion-panel{ | |
| display: none; | |
| &.active{ | |
| display: block; | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment