https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
677 B
22 lines
677 B
@import "shared"; |
|
|
|
// Set `$inline-block-alignment` to `none` or `false` to disable the output |
|
// of a vertical-align property in the inline-block mixin. |
|
// Or set it to a legal value for `vertical-align` to change the default. |
|
$inline-block-alignment: middle !default; |
|
|
|
// Provides a cross-browser method to implement `display: inline-block;` |
|
@mixin inline-block($alignment: $inline-block-alignment) { |
|
@if $legacy-support-for-mozilla { |
|
display: -moz-inline-stack; |
|
} |
|
display: inline-block; |
|
@if $alignment and $alignment != none { |
|
vertical-align: $alignment; |
|
} |
|
@if $legacy-support-for-ie { |
|
*vertical-align: auto; |
|
zoom: 1; |
|
*display: inline; |
|
} |
|
}
|
|
|