Update _mixins.sass

This commit is contained in:
Andros Fenollosa 2020-04-17 20:32:46 +02:00 committed by GitHub
parent 3c400050e2
commit 29eb725f70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,11 +17,18 @@
@else if $side == 'bottom'
bottom: 0
/*
* Add a border through the shadows avoiding extra space.
* $size: unit
*
* Examples: @include sizeSquare(4rem) , @include sizeSquare(10px)
*/
@mixin sizeSquare($size)
width: $size
height: $size
/*
* Add a border through the shadows avoiding extra space.
* $side: all (default), top, right, bottom, left
*/
@mixin border($size: 1px, $color: black, $side: all)