mixin for transition css

Solutions on MaxInterview for mixin for transition css by the best coders in the world

showing results for - "mixin for transition css"
Che
07 Jan 2020
1/* Mixin for transition css */
2@mixin transition($for: all, $time-in: 250ms, $type: ease-in-out, $time-out: 0s) {
3    transition: $for $time-in $type $time-out;
4    -moz-transition: $for $time-in $type $time-out;
5    -webkit-transition: $for $time-in $type $time-out;
6    -o-transition: $for $time-in $type $time-out;
7}
8
9/* IE10 (the first stable version of IE to support transition)
10does not require the -ms- prefix. */