aboutsummaryrefslogtreecommitdiff
path: root/_scss/utilities/_textsizeadjust.scss
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-04-22 23:45:31 +0300
committerValentin Popov <info@valentineus.link>2018-04-22 23:45:31 +0300
commite678aab0299cfde636896d91a0049b2ed3213dd4 (patch)
tree8dd46f7a47576ac06341a520205abbef07cc8782 /_scss/utilities/_textsizeadjust.scss
parentad91d95861d9b8c78af0630f565a3a702b1fe920 (diff)
downloadpopov.link-e678aab0299cfde636896d91a0049b2ed3213dd4.tar.xz
popov.link-e678aab0299cfde636896d91a0049b2ed3213dd4.zip
Add tool 'text-size-adjust'
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to '_scss/utilities/_textsizeadjust.scss')
-rw-r--r--_scss/utilities/_textsizeadjust.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/_scss/utilities/_textsizeadjust.scss b/_scss/utilities/_textsizeadjust.scss
new file mode 100644
index 0000000..49edd0b
--- /dev/null
+++ b/_scss/utilities/_textsizeadjust.scss
@@ -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;
+}