Created
August 24, 2013 17:52
-
-
Save lisasy/6329457 to your computer and use it in GitHub Desktop.
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
@mixin inline-block { | |
ul { | |
display: block; | |
li { | |
display: inline-block; | |
float: left; | |
} | |
} | |
} | |
@mixin list-item-width($numberOfListItems) { | |
li { | |
width: 100%/$numberOfListItems; | |
a { | |
display: block; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment