mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
fixed a few typos in the docs
This commit is contained in:
parent
89951a6608
commit
7080e895d8
@ -92,7 +92,7 @@ a {
|
|||||||
<p>Note that the <code>@link-hover-color</code> uses a function, another awesome tool from Less, to automagically create the right hover color. You can use <code>darken</code>, <code>lighten</code>, <code>saturate</code>, and <code>desaturate</code>.</p>
|
<p>Note that the <code>@link-hover-color</code> uses a function, another awesome tool from Less, to automagically create the right hover color. You can use <code>darken</code>, <code>lighten</code>, <code>saturate</code>, and <code>desaturate</code>.</p>
|
||||||
|
|
||||||
<h3 id="less-variables-typography">Typography</h3>
|
<h3 id="less-variables-typography">Typography</h3>
|
||||||
<p>Easily set your type face, text size, leading, and more with a few quick variables. Bootstrap makes use of these as well to provide easy typographic mixins.</p>
|
<p>Easily set your typeface, text size, leading, and more with a few quick variables. Bootstrap makes use of these as well to provide easy typographic mixins.</p>
|
||||||
{% highlight scss %}
|
{% highlight scss %}
|
||||||
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
@font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
@font-family-serif: Georgia, "Times New Roman", Times, serif;
|
||||||
@ -162,7 +162,7 @@ a {
|
|||||||
|
|
||||||
<h3 id="less-mixins-box-sizing">Box-sizing</h3>
|
<h3 id="less-mixins-box-sizing">Box-sizing</h3>
|
||||||
<p>Reset your components' box model with a single mixin. For context, see this <a href="https://developer.mozilla.org/en-US/docs/CSS/box-sizing" target="_blank">helpful article from Mozilla</a>.</p>
|
<p>Reset your components' box model with a single mixin. For context, see this <a href="https://developer.mozilla.org/en-US/docs/CSS/box-sizing" target="_blank">helpful article from Mozilla</a>.</p>
|
||||||
<p>The mixin is <strong>deprecated</strong> as of v3.2.0, with the introduction of autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixin internally until Bootstrap v4.</p>
|
<p>The mixin is <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixin internally until Bootstrap v4.</p>
|
||||||
{% highlight scss %}
|
{% highlight scss %}
|
||||||
.box-sizing(@box-model) {
|
.box-sizing(@box-model) {
|
||||||
-webkit-box-sizing: @box-model; // Safari <= 5
|
-webkit-box-sizing: @box-model; // Safari <= 5
|
||||||
@ -205,7 +205,7 @@ a {
|
|||||||
|
|
||||||
<h3 id="less-mixins-transitions">Transitions</h3>
|
<h3 id="less-mixins-transitions">Transitions</h3>
|
||||||
<p>Multiple mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.</p>
|
<p>Multiple mixins for flexibility. Set all transition information with one, or specify a separate delay and duration as needed.</p>
|
||||||
<p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p>
|
<p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p>
|
||||||
{% highlight scss %}
|
{% highlight scss %}
|
||||||
.transition(@transition) {
|
.transition(@transition) {
|
||||||
-webkit-transition: @transition;
|
-webkit-transition: @transition;
|
||||||
@ -237,7 +237,7 @@ a {
|
|||||||
|
|
||||||
<h3 id="less-mixins-transformations">Transformations</h3>
|
<h3 id="less-mixins-transformations">Transformations</h3>
|
||||||
<p>Rotate, scale, translate (move), or skew any object.</p>
|
<p>Rotate, scale, translate (move), or skew any object.</p>
|
||||||
<p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p>
|
<p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p>
|
||||||
{% highlight scss %}
|
{% highlight scss %}
|
||||||
.rotate(@degrees) {
|
.rotate(@degrees) {
|
||||||
-webkit-transform: rotate(@degrees);
|
-webkit-transform: rotate(@degrees);
|
||||||
@ -294,7 +294,7 @@ a {
|
|||||||
|
|
||||||
<h3 id="less-mixins-animations">Animations</h3>
|
<h3 id="less-mixins-animations">Animations</h3>
|
||||||
<p>A single mixin for using all of CSS3's animation properties in one declaration and other mixins for individual properties.</p>
|
<p>A single mixin for using all of CSS3's animation properties in one declaration and other mixins for individual properties.</p>
|
||||||
<p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p>
|
<p>The mixins are <strong>deprecated</strong> as of v3.2.0, with the introduction of Autoprefixer. To preserve backwards-compatibility, Bootstrap will continue to use the mixins internally until Bootstrap v4.</p>
|
||||||
{% highlight scss %}
|
{% highlight scss %}
|
||||||
.animation(@animation) {
|
.animation(@animation) {
|
||||||
-webkit-animation: @animation;
|
-webkit-animation: @animation;
|
||||||
|
@ -152,7 +152,7 @@
|
|||||||
<a class="thumbnail" href="../examples/offcanvas/">
|
<a class="thumbnail" href="../examples/offcanvas/">
|
||||||
<img src="../examples/screenshots/offcanvas.jpg" alt="Off-canvas navigation example">
|
<img src="../examples/screenshots/offcanvas.jpg" alt="Off-canvas navigation example">
|
||||||
</a>
|
</a>
|
||||||
<h4>Offcanvas</h4>
|
<h4>Off-canvas</h4>
|
||||||
<p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
|
<p>Build a toggleable off-canvas navigation menu for use with Bootstrap.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user