// rotate
@mixin rotate ($deg) {
  @include transform(rotate(#{$deg}deg));
}

$rotations: (0, 90, 180, 360);

.rotate {
  @each $rotation in $rotations {
    &-c-#{$rotation} {
      @include rotate($rotation);
      @include transition(200ms linear transform);
    }
    &-ac-#{$rotation} {
      @include rotate($rotation * -1);
      @include transition(200ms linear transform);
    }
  }
}