mirror of
https://github.com/papercss/papercss
synced 2024-06-08 17:02:14 +02:00
moved transition mixin into config
This commit is contained in:
parent
01e9946bc2
commit
1c02bb8db6
|
@ -183,6 +183,13 @@ $shadow-hover: 2px 8px 8px -5px $shadow-color-hover !default;
|
|||
transform: translate($x, $y);
|
||||
}
|
||||
|
||||
@mixin transition($name:all, $duration:235ms, $animation:ease-in-out, $delay:0s){
|
||||
-webkit-transition: $name $duration $animation $delay;
|
||||
-moz-transition: $name $duration $animation $delay;
|
||||
-o-transition: $name $duration $animation $delay;
|
||||
transition: $name $duration $animation $delay;
|
||||
}
|
||||
|
||||
/**
|
||||
Set the shadow type for a component
|
||||
@param string
|
||||
|
|
Loading…
Reference in a new issue