diff options
Diffstat (limited to 'sass/base/_utilities.scss')
-rw-r--r-- | sass/base/_utilities.scss | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sass/base/_utilities.scss b/sass/base/_utilities.scss new file mode 100644 index 0000000..1a3ed2f --- /dev/null +++ b/sass/base/_utilities.scss @@ -0,0 +1,24 @@ +@mixin square($property){ + width: $property; + height: $property; +} +@mixin user-select($select){ + -moz-user-select: $select; + -khtml-user-select: $select; + -webkit-user-select: $select; + -o-user-select: $select; + user-select: $select; +} +@mixin border-shadow($top: $gray05, $bottom: $gray04){ + border-top: 1px solid $top; + border-bottom: 1px solid $bottom; +} +@mixin center($width, $height){ + position: absolute; + top: 50%; + left: 50%; + margin-left: $width/(-2); + margin-top: $height/(-2); + width: $width; + height: $height; +}
\ No newline at end of file |