Sha256: 299df0e810d25f85bb23511c095f0449995eb442e2116441a8be6f5f47c95f39

Contents?: true

Size: 570 Bytes

Versions: 29

Compression:

Stored size: 570 Bytes

Contents

// Foundation for Sites by ZURB
// foundation.zurb.com
// 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

29 entries across 29 versions & 4 rubygems

Version Path
bedrock_sass-0.2.2 assets/_vendor/foundation/scss/prototype/_box.scss
foundation-rails-6.6.1.0 vendor/assets/scss/prototype/_box.scss
foundation-rails-6.5.3.0 vendor/assets/scss/prototype/_box.scss
bedrock_sass-0.2.1 assets/_vendor/foundation/scss/prototype/_box.scss
foundation-rails-6.5.1.0 vendor/assets/scss/prototype/_box.scss
locomotivecms_wagon-2.4.1 generators/foundation/public/stylesheets/foundation6/prototype/_box.scss
bedrock_sass-0.2.0 assets/_vendor/foundation/scss/prototype/_box.scss
locomotivecms_wagon-2.4.0 generators/foundation/public/stylesheets/foundation6/prototype/_box.scss
foundation-rails-6.4.3.0 vendor/assets/scss/prototype/_box.scss
bedrock_sass-0.1.9 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.8 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.7 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.6 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.5 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.4 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.3 assets/_vendor/foundation/scss/prototype/_box.scss
bedrock_sass-0.1.2 assets/_vendor/foundation/scss/prototype/_box.scss
foundation-rails-6.4.1.3 vendor/assets/scss/prototype/_box.scss
jekyll-theme-foundation-0.3.6 _sass/scss/prototype/_box.scss
jekyll-theme-foundation-0.3.5 _sass/scss/prototype/_box.scss