aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-06-18 23:56:43 -0700
committerMark Otto <[email protected]>2015-06-18 23:56:43 -0700
commit169d2a4a78776ddaa4fec774691a3c5f03aa3eda (patch)
tree997248da2a627a3ef3478dd0f8f8077267c56e22 /less
parentdf2ca92d7704d54a15be54e5da8086712bd18680 (diff)
parent1e64692716985246f70c89bcf8d5119e17a353c0 (diff)
downloadbootstrap-169d2a4a78776ddaa4fec774691a3c5f03aa3eda.tar.xz
bootstrap-169d2a4a78776ddaa4fec774691a3c5f03aa3eda.zip
Merge branch 'master' into v4
Diffstat (limited to 'less')
-rw-r--r--less/mixins/reset-text.less18
1 files changed, 18 insertions, 0 deletions
diff --git a/less/mixins/reset-text.less b/less/mixins/reset-text.less
new file mode 100644
index 000000000..58dd4d19b
--- /dev/null
+++ b/less/mixins/reset-text.less
@@ -0,0 +1,18 @@
+.reset-text() {
+ font-family: @font-family-base;
+ // We deliberately do NOT reset font-size.
+ font-style: normal;
+ font-weight: normal;
+ letter-spacing: normal;
+ line-break: auto;
+ line-height: @line-height-base;
+ text-align: left; // Fallback for where `start` is not supported
+ text-align: start;
+ text-decoration: none;
+ text-shadow: none;
+ text-transform: none;
+ white-space: normal;
+ word-break: normal;
+ word-spacing: normal;
+ word-wrap: normal;
+}