Sha256: 9931b6e980aa114349855f29f8a61274a2f19f162f6dfa8e6f0bf7d4e8baa755

Contents?: true

Size: 484 Bytes

Versions: 8

Compression:

Stored size: 484 Bytes

Contents

/// Creates a scaling transition. A scale of `1` means the element is the same size. Larger numbers make the element bigger, while numbers less than 1 make the element smaller.
/// @param {Number} $from [0] - Size to start at.
/// @param {Number} $to [1] - Size to end at.
@function zoom(
  $from: 0,
  $to: 1
) {
  $keyframes: (
    name: -mui-string-safe('scale-#{$to}-to-#{$from}'),
    0: (transform: scale($from)),
    100: (transform: scale($to)),
  );

  @return $keyframes;
}

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
foundation-rails-6.9.0.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.6.2.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
bedrock_sass-0.2.2 assets/_vendor/motion-ui/effects/_zoom.scss
foundation-rails-6.6.1.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.5.3.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
bedrock_sass-0.2.1 assets/_vendor/motion-ui/effects/_zoom.scss
foundation-rails-6.5.1.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
bedrock_sass-0.2.0 assets/_vendor/motion-ui/effects/_zoom.scss