diff --git a/docs/_includes/css/type.html b/docs/_includes/css/type.html index 65001198d..124e4f087 100644 --- a/docs/_includes/css/type.html +++ b/docs/_includes/css/type.html @@ -204,6 +204,18 @@ You can use the mark tag to highlight text.

No wrap text.

{% endhighlight %} +

Transformation classes

+

Transform text in components with text capitalization classes.

+
+

Lowercase text.

+

Uppercase text.

+

Capitalize text.

+
+{% highlight html %} +

Lowercase text.

+

Uppercase text.

+

Capitalize text.

+{% endhighlight %}

Abbreviations

diff --git a/docs/_includes/nav/css.html b/docs/_includes/nav/css.html index 5a8d86368..ac86dffce 100644 --- a/docs/_includes/nav/css.html +++ b/docs/_includes/nav/css.html @@ -33,6 +33,7 @@
  • Body copy
  • Inline text elements
  • Alignment classes
  • +
  • Transformation classes
  • Abbreviations
  • Addresses
  • Blockquotes
  • diff --git a/less/type.less b/less/type.less index 101c81e72..93414474a 100644 --- a/less/type.less +++ b/less/type.less @@ -98,6 +98,11 @@ mark, .text-justify { text-align: justify; } .text-nowrap { white-space: nowrap; } +// Transformation +.text-lowercase { text-transform: lowercase; } +.text-uppercase { text-transform: uppercase; } +.text-capitalize { text-transform: capitalize; } + // Contextual colors .text-muted { color: @text-muted;