SCSS support tools

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-05-31 04:31:44 +04:00
parent ac9c0b81bc
commit 1bb23ac3c7
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,15 @@
// Box Sizing
//
// The box-sizing property in CSS controls how the box model
// is handled for the element it applies to.
//
// Values: content-box | border-box
// Default: content-box
//
// https://www.w3.org/TR/css-ui-3/#box-sizing
@mixin box-sizing($value: content-box) {
-webkit-box-sizing: $value;
-moz-box-sizing: $value;
-ms-box-sizing: $value;
box-sizing: $value;
}

View File

@ -0,0 +1,13 @@
// Text Size Adjust
//
// The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.
//
// Values: none | auto | <percentage>
// Default: none
//
// https://drafts.csswg.org/css-size-adjust/#adjustment-control
@mixin text-size-adjust($value: none) {
-webkit-text-size-adjust: $value;
-moz-text-size-adjust: $value;
-ms-text-size-adjust: $value;
}