i follow error when trying use mixin 'user-select'. i'm using version 0.12.2 i'm pretty sure supports user-select compass. why can't use mixin?
error
syntax error: undefined mixin \'user-select\'
includes
// css3 @import "compass/css3"; @import "partials/deposit";
call
//file: partials/_deposit.scss @include user-select(none);
so why can't use mixin?
from @import "compass/css3/"
, list of imported things:
- appearance – specify css3 appearance property.
- background clip – specify background clip browsers.
- background origin – specify background origin browsers.
- background size – specify background size browsers.
- border radius – specify border radius browsers.
- box – module provides mixins pertain css3 flexible box.
- box shadow – specify box shadow browsers.
- box sizing – specify box sizing browsers.
- columns – specify columnar layout browsers.
- filter – specify (image) filter browsers.
- font face – specify downloadable font face browsers.
- hyphenation – mixin breaking space , injecting hypens overflowing text
- images – specify linear gradients , radial gradients many browsers.
- inline block – declare element inline block browsers.
- opacity – specify opacity browsers.
- css regions – specify css regions supported browsers.
- text shadow – specify text shadow browsers.
- transform – specify transformations many browsers.
- transition – specify style transition browsers.
from this, can compass user interface (css3/user-interface
) isn't bundled compass/css3
need call also, after css3 call:
@import "compass/css3" @import "compass/css3/user-interface" //other imports
update
compass 0.13.alpha.10 onwards
looks 0.13.alpha.10 compass imports user-interface well since documentation page updated:
- user interface – declare element inline block browsers.
also added animation well:
- animation – specify css3 animation property , sub-properties.
therefore @import "compass/css3"
enough now.
Comments
Post a Comment