1 <div class="bs-docs-section">
2 <h1 id="third-parties" class="page-header">Third party support</h1>
3 <p class="lead">While we don't officially support any third party plugins or add-ons, we do offer some useful advice to help avoid potential issues in your projects.</p>
5 <h2 id="third-box-sizing">Box-sizing</h2>
6 <p>Some third party software, including Google Maps and Google Custom Search Engine, conflict with Bootstrap due to <code>* { box-sizing: border-box; }</code>, a rule which makes it so <code>padding</code> does not affect the final computed width of an element. Learn more about <a href="http://css-tricks.com/box-sizing/">box model and sizing at CSS Tricks</a>.</p>
7 <p>Depending on the context, you may override as-needed (Option 1) or reset the box-sizing for entire regions (Option 2).</p>
11 * Reset individual elements or override regions to avoid conflicts due to
12 * global box model settings of Bootstrap. Two options, individual overrides and
13 * region resets, are available as plain CSS and uncompiled Less formats.
16 /* Option 1A: Override a single element's box model via CSS */
18 -webkit-box-sizing: content-box;
19 -moz-box-sizing: content-box;
20 box-sizing: content-box;
23 /* Option 1B: Override a single element's box model by using a Bootstrap Less mixin */
25 .box-sizing(content-box);
28 /* Option 2A: Reset an entire region via CSS */
31 .reset-box-sizing *:before,
32 .reset-box-sizing *:after {
33 -webkit-box-sizing: content-box;
34 -moz-box-sizing: content-box;
35 box-sizing: content-box;
38 /* Option 2B: Reset an entire region with a custom Less mixin */
44 .box-sizing(content-box);