Created
July 8, 2014 03:25
-
-
Save bwasilewski/8a3406314355da6eaa3d 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
<ul class="nav--primary"> | |
<li class="nav__item">One</li> | |
<li class="nav__item">Two</li> | |
<li class="nav__item">Three</li> | |
</ul> | |
<ul class="nav--secondary"> | |
<li class="nav__item">One</li> | |
<li class="nav__item">Two</li> | |
<li class="nav__item">Three</li> | |
</ul> |
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
// ---- | |
// Sass (v3.3.9) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
%nav { | |
background: #ccc; | |
padding: 0; | |
width: 100%; | |
list-style-type: none; | |
li { | |
margin: 0; | |
padding: 0; | |
} | |
} | |
.nav--primary, | |
.nav--secondary { | |
@extend %nav; | |
} | |
.nav--secondary { | |
width: 200px; | |
li { | |
display: inline-block; | |
} | |
} |
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
.nav--primary, | |
.nav--secondary { | |
background: #ccc; | |
padding: 0; | |
width: 100%; | |
list-style-type: none; | |
} | |
.nav--primary li, | |
.nav--secondary li { | |
margin: 0; | |
padding: 0; | |
} | |
.nav--secondary { | |
width: 200px; | |
} | |
.nav--secondary li { | |
display: inline-block; | |
} |
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
<ul class="nav--primary"> | |
<li class="nav__item">One</li> | |
<li class="nav__item">Two</li> | |
<li class="nav__item">Three</li> | |
</ul> | |
<ul class="nav--secondary"> | |
<li class="nav__item">One</li> | |
<li class="nav__item">Two</li> | |
<li class="nav__item">Three</li> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment