//
// Copyright IBM Corp. 2021
//
// This source code is licensed under the Apache-2.0 license found in the
// LICENSE file in the root directory of this source tree.
//

/// Adds rotational transformation
/// @access public
/// @param {Number} $deg - How many degrees to rotate
/// @param {Number} $speed - Speed of rotation
/// @param {Value} $origin [center] - `transform-origin`
/// @example @include rotate(90deg, 300ms);
/// @group utilities
@mixin rotate($deg, $speed, $origin: center) {
  transform: rotate($deg);
  transform-origin: $origin;
  transition: transform $speed;
}
