Created
February 16, 2016 09:16
-
-
Save neutraltone/225efdf413d7314824a4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<div class="header header--sticky"> | |
<div class="header__container header__container--active"> | |
<nav>navigation</nav> | |
</div> | |
</div> |
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
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
.header { | |
display: block; | |
width: 100%; | |
padding: 1em; | |
background: blue; | |
&__container { | |
padding: 1em; | |
background: orange; | |
&--active { | |
background: red; | |
} | |
} | |
&--sticky { | |
position: fixed; | |
top: 0; | |
left: 0; | |
} | |
} |
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
.header { | |
display: block; | |
width: 100%; | |
padding: 1em; | |
background: blue; | |
} | |
.header__container { | |
padding: 1em; | |
background: orange; | |
} | |
.header__container--active { | |
background: red; | |
} | |
.header--sticky { | |
position: fixed; | |
top: 0; | |
left: 0; | |
} |
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
<div class="header header--sticky"> | |
<div class="header__container header__container--active"> | |
<nav>navigation</nav> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment