@mixin transition($type: all, $time: 0.2s, $effect: ease-in-out) {
    -webkit-transition: $type $time $effect;
    -moz-transition:    $type $time $effect;
    -ms-transition:     $type $time $effect;
    -o-transition:      $type $time $effect;
    transition:         $type $time $effect;
}