Compass Appearance
Provides a mixin for appearance.
See the CSS3 specification: appearance.
This file can be imported using:
@import "compass/css3/appearance"
Imports
- Browser Support – Provides configuration options for the Compass Browser Support Matrix.
Mixins
view sourceappearance($appearance)
=appearance($appearance)
// There is no caniuse tracking for appearance.
$appearance: unquote($appearance)
+with-prefix(-moz)
-moz-appearance: $appearance
+with-prefix(-webkit)
-webkit-appearance: $appearance
@mixin appearance($appearance) {
// There is no caniuse tracking for appearance.
$appearance: unquote($appearance);
@include with-prefix(-moz) {
-moz-appearance: $appearance;
}
@include with-prefix(-webkit) {
-webkit-appearance: $appearance;
}
}