-
-
Save sturobson/5721030 to your computer and use it in GitHub Desktop.
This file contains 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 { | |
.js & { | |
display: none; | |
} | |
.js .open + & { | |
display: block; | |
} | |
li { | |
border-top: 1px solid #e2e4e6; | |
&:first-child { | |
border-top-color: transparent; | |
} | |
} | |
a { | |
@include rem(padding, 5px 10px 6px); | |
&.icon { | |
padding-left: 40px; | |
position: relative; | |
} | |
&.icon img { | |
@include rem(left, 10px); | |
margin-top: -2px; | |
position: absolute; | |
} | |
} | |
} |
This file contains 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 { | |
.js & { | |
display: none; | |
} | |
.js .open + & { | |
display: block; | |
} | |
} | |
.accordion li { | |
border-top: 1px solid #e2e4e6; | |
&:first-child { | |
border-top-color: transparent; | |
} | |
} | |
.accordion a { | |
@include rem(padding, 5px 10px 6px); | |
&.icon { | |
padding-left: 40px; | |
position: relative; | |
} | |
&.icon img { | |
@include rem(left, 10px); | |
margin-top: -2px; | |
position: absolute; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment