Created
December 9, 2013 19:37
-
-
Save ryanburgess/7879416 to your computer and use it in GitHub Desktop.
Display inline block for cross browser SASS mixin.
This file contains hidden or 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
// ----------------------------------------- | |
// Display inline block cross browser | |
// ------------------------------------------- | |
// example: @include inline-block(); | |
@mixin inline-block() { | |
display: -moz-inline-stack; | |
display: inline-block; | |
vertical-align: top; | |
zoom: 1; | |
*display: inline; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment