Update _mixins.sass
This commit is contained in:
parent
3c400050e2
commit
29eb725f70
@ -17,11 +17,18 @@
|
|||||||
@else if $side == 'bottom'
|
@else if $side == 'bottom'
|
||||||
bottom: 0
|
bottom: 0
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Add a border through the shadows avoiding extra space.
|
||||||
|
* $size: unit
|
||||||
|
*
|
||||||
|
* Examples: @include sizeSquare(4rem) , @include sizeSquare(10px)
|
||||||
|
*/
|
||||||
@mixin sizeSquare($size)
|
@mixin sizeSquare($size)
|
||||||
width: $size
|
width: $size
|
||||||
height: $size
|
height: $size
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
* Add a border through the shadows avoiding extra space.
|
||||||
* $side: all (default), top, right, bottom, left
|
* $side: all (default), top, right, bottom, left
|
||||||
*/
|
*/
|
||||||
@mixin border($size: 1px, $color: black, $side: all)
|
@mixin border($size: 1px, $color: black, $side: all)
|
||||||
|
Loading…
Reference in New Issue
Block a user