mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 16:50:00 +02:00
More redirects fixes.
This commit is contained in:
@@ -886,7 +886,7 @@ To edit settings, press <span class=nt><kbd><kbd></span>ctrl<span cl
|
||||
<span class=k>@component-active-bg</span><span class=nd>:</span> <span class=o>@</span><span class=nt>brand-primary</span><span class=p>;</span>
|
||||
|
||||
<span class=k>@caret-width-base</span><span class=nd>:</span> <span class=nt>4px</span><span class=p>;</span>
|
||||
<span class=k>@caret-width-large</span><span class=nd>:</span> <span class=nt>5px</span><span class=p>;</span></code></pre></figure> <h2 id=less-mixins-vendor>Vendor mixins</h2> <p>Vendor mixins are mixins to help support multiple browsers by including all relevant vendor prefixes in your compiled CSS.</p> <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 rel=noopener 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> <figure class=highlight><pre><code class=language-scss data-lang=scss><span class=nc>.box-sizing</span><span class=o>(@</span><span class=nt>box-model</span><span class=o>)</span> <span class=p>{</span>
|
||||
<span class=k>@caret-width-large</span><span class=nd>:</span> <span class=nt>5px</span><span class=p>;</span></code></pre></figure> <h2 id=less-mixins-vendor>Vendor mixins</h2> <p>Vendor mixins are mixins to help support multiple browsers by including all relevant vendor prefixes in your compiled CSS.</p> <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/Web/CSS/box-sizing rel=noopener 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> <figure class=highlight><pre><code class=language-scss data-lang=scss><span class=nc>.box-sizing</span><span class=o>(@</span><span class=nt>box-model</span><span class=o>)</span> <span class=p>{</span>
|
||||
<span class=na>-webkit-box-sizing</span><span class=p>:</span> <span class=o>@</span><span class=n>box-model</span><span class=p>;</span> <span class=c1>// Safari <= 5
|
||||
</span> <span class=na>-moz-box-sizing</span><span class=p>:</span> <span class=o>@</span><span class=n>box-model</span><span class=p>;</span> <span class=c1>// Firefox <= 19
|
||||
</span> <span class=nl>box-sizing</span><span class=p>:</span> <span class=o>@</span><span class=n>box-model</span><span class=p>;</span>
|
||||
|
Reference in New Issue
Block a user