Sha256: 467c865a4d428bdd7965496991acfeba69fd47721932659c507bf72f9e03dcb4

Contents?: true

Size: 468 Bytes

Versions: 22

Compression:

Stored size: 468 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 [1.5] - Size to start at.
/// @param {Number} $to [1] - Size to end at.
@function zoom(
  $from: 0,
  $to: 1
) {
  $keyframes: (
    name: 'scale-#{$to}-to-#{$from}',
    0: (transform: scale($from)),
    100: (transform: scale($to)),
  );

  @return $keyframes;
}

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
locomotivecms_wagon-2.4.1 generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss
locomotivecms_wagon-2.4.0 generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss
foundation-rails-6.4.3.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.9 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.8 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.7 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.6 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.5 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.4 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.3 assets/_vendor/motion-ui/effects/_zoom.scss
bedrock_sass-0.1.2 assets/_vendor/motion-ui/effects/_zoom.scss
foundation-rails-6.4.1.3 vendor/assets/scss/motion-ui/effects/_zoom.scss
aacinfo-theme-2.0.1 _sass/motion-ui/src/effects/_zoom.scss
foundation-rails-6.4.1.2 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.4.1.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.3.1.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.3.0.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.2.4.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.2.3.0 vendor/assets/scss/motion-ui/effects/_zoom.scss
foundation-rails-6.2.1.0 vendor/assets/scss/motion-ui/effects/_zoom.scss