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.
gzf/WebRoot/static/ui/assets/scss/_mixin.scss

34 lines
492 B

5 years ago
/* transition */
@mixin transition($property){
-webkit-transition: $property;
transition: $property;
}
/* flex */
@mixin flex($property){
display: -webkit-box;
display: -ms-flexbox;
display: flex;
align-items: center
}
/* transform */
@mixin transform($property) {
-webkit-transform: $property;
-ms-transform: $property;
transform: $property;
}
/* opacity */
@mixin opacity($opacity){
opacity: $opacity;
-ms-filter: $opacity;
}