Sha256: f7ea178190796dd84e3eec85abf88a6e4067aa1af2090cb574f69e4c39744df8

Contents?: true

Size: 565 Bytes

Versions: 2

Compression:

Stored size: 565 Bytes

Contents

// Foundation for Sites
// https://get.foundation
// Licensed under MIT Open Source

////
/// @group prototype-box
////

/// Box Mixin: Easily create a square, rectangle or a circle
/// @param {Number} $width[] Width of the box
/// @param {Number} $height[$width] Height of the box, defaults to `$width` to easily make a square
/// @param {Boolean} $circle[false] Makes the box a circle, by default `false`.
@mixin box(
  $width, 
  $height: $width, 
  $circle: false
) {
  width: $width;
  height: $height;
  @if $circle {
    border-radius: 50% !important;
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foundation-rails-6.9.0.0 vendor/assets/scss/prototype/_box.scss
foundation-rails-6.6.2.0 vendor/assets/scss/prototype/_box.scss