Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
1d97cbed
Commit
1d97cbed
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Plain Diff
Merge pull request #13671 from 04818419/text-transformation
text transformation added
parents
7bcd7884
585f4787
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/_includes/css/type.html
+12
-0
docs/_includes/css/type.html
docs/_includes/nav/css.html
+1
-0
docs/_includes/nav/css.html
less/type.less
+5
-0
less/type.less
with
18 additions
and
0 deletions
+18
-0
docs/_includes/css/type.html
+
12
-
0
View file @
1d97cbed
...
@@ -204,6 +204,18 @@ You can use the mark tag to <mark>highlight</mark> text.
...
@@ -204,6 +204,18 @@ You can use the mark tag to <mark>highlight</mark> text.
<p
class=
"text-nowrap"
>
No wrap text.
</p>
<p
class=
"text-nowrap"
>
No wrap text.
</p>
{% endhighlight %}
{% endhighlight %}
<h2
id=
"type-transformation"
>
Transformation classes
</h2>
<p>
Transform text in components with text capitalization classes.
</p>
<div
class=
"bs-example"
>
<p
class=
"text-lowercase"
>
Lowercase text.
</p>
<p
class=
"text-uppercase"
>
Uppercase text.
</p>
<p
class=
"text-capitalize"
>
Capitalize text.
</p>
</div>
{% highlight html %}
<p
class=
"text-lowercase"
>
Lowercase text.
</p>
<p
class=
"text-uppercase"
>
Uppercase text.
</p>
<p
class=
"text-capitalize"
>
Capitalize text.
</p>
{% endhighlight %}
<!-- Abbreviations -->
<!-- Abbreviations -->
<h2
id=
"type-abbreviations"
>
Abbreviations
</h2>
<h2
id=
"type-abbreviations"
>
Abbreviations
</h2>
...
...
This diff is collapsed.
Click to expand it.
docs/_includes/nav/css.html
+
1
-
0
View file @
1d97cbed
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
<li><a
href=
"#type-body-copy"
>
Body copy
</a></li>
<li><a
href=
"#type-body-copy"
>
Body copy
</a></li>
<li><a
href=
"#type-inline-text"
>
Inline text elements
</a></li>
<li><a
href=
"#type-inline-text"
>
Inline text elements
</a></li>
<li><a
href=
"#type-alignment"
>
Alignment classes
</a></li>
<li><a
href=
"#type-alignment"
>
Alignment classes
</a></li>
<li><a
href=
"#type-transformation"
>
Transformation classes
</a></li>
<li><a
href=
"#type-abbreviations"
>
Abbreviations
</a></li>
<li><a
href=
"#type-abbreviations"
>
Abbreviations
</a></li>
<li><a
href=
"#type-addresses"
>
Addresses
</a></li>
<li><a
href=
"#type-addresses"
>
Addresses
</a></li>
<li><a
href=
"#type-blockquotes"
>
Blockquotes
</a></li>
<li><a
href=
"#type-blockquotes"
>
Blockquotes
</a></li>
...
...
This diff is collapsed.
Click to expand it.
less/type.less
+
5
-
0
View file @
1d97cbed
...
@@ -98,6 +98,11 @@ mark,
...
@@ -98,6 +98,11 @@ mark,
.text-justify { text-align: justify; }
.text-justify { text-align: justify; }
.text-nowrap { white-space: nowrap; }
.text-nowrap { white-space: nowrap; }
// Transformation
.text-lowercase { text-transform: lowercase; }
.text-uppercase { text-transform: uppercase; }
.text-capitalize { text-transform: capitalize; }
// Contextual colors
// Contextual colors
.text-muted {
.text-muted {
color: @text-muted;
color: @text-muted;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment