Skip to content

Commit e2efcb3

Browse files
committed
Update transition value
1 parent 8b4d948 commit e2efcb3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/styles/mixins.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
transition: $value;
6565
}
6666
// Usage example: @include transition(height, opacity, transform);
67-
// Result of use: transition: height 0.3s ease 0s , opacity 0.3s ease 0s , transform 0.3s ease 0s , -webkit-transform 0.3s ease 0s;
67+
// Result of use: transition: height 200ms cubic-bezier(0, 0, 0.2, 1) 0s , opacity 200ms cubic-bezier(0, 0, 0.2, 1) 0s , transform 200ms cubic-bezier(0, 0, 0.2, 1) 0s , -webkit-transform 200ms cubic-bezier(0, 0, 0.2, 1) 0s;
6868
@mixin transition($args...) {
6969
$type: nth($args, length($args));
7070
$props: $args;
@@ -74,7 +74,7 @@
7474
$anim: length($args);
7575
$prop: nth($props, $i);
7676
$result: append($result, $prop);
77-
$result: append($result, unquote($string: '0.3s ease 0s'));
77+
$result: append($result, unquote($string: 200ms $default-animation 0s));
7878

7979
@if $i != length($props) {
8080
$result: append($result, unquote($string: ","));

0 commit comments

Comments
 (0)