Created
December 23, 2014 12:01
-
-
Save devbyray/c4bbb3ef457f65c05eb2 to your computer and use it in GitHub Desktop.
Sass nesting
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 ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
nav li { | |
display: inline-block; | |
} | |
nav a { | |
display: block; | |
padding: 6px 12px; | |
text-decoration: none; | |
} |
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.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
nav { | |
ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
li { display: inline-block; } | |
a { | |
display: block; | |
padding: 6px 12px; | |
text-decoration: none; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment