Created
September 12, 2014 13:24
-
-
Save davidicus/60918c822c474427a8ff 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
// ---- | |
// Sass (v3.4.1) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin display ( | |
$disp, | |
$padding: null, | |
$r-margin: null, | |
$l-margin: null) { | |
display: $disp; | |
padding: $padding; | |
margin-left: $l-margin; | |
margin-right: $r-margin; | |
} | |
.nav__item { | |
@include display(inline-block, $l-margin: 20px); | |
} | |
.nav__link { | |
@include display(block, 10px 5px); | |
} |
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__item { | |
display: inline-block; | |
margin-left: 20px; | |
} | |
.nav__link { | |
display: block; | |
padding: 10px 5px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment