Commit 401dca0e authored by Mark Otto's avatar Mark Otto
Browse files

Merge pull request #11110 from nikolawannabe/patch-1

Include a note about text-based form control styling
parents 48179141 9d54a429
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
...@@ -668,7 +668,8 @@ bootstrap/ ...@@ -668,7 +668,8 @@ bootstrap/
<h2 id="migration-notes">Additional notes</h2> <h2 id="migration-notes">Additional notes</h2>
<p>Other changes in v3.0 are not immediately apparent. Base classes, key styles, and behaviors have been adjusted for flexibility and our <em>mobile first</em> approach. Here's a partial list:</p> <p>Other changes in v3.0 are not immediately apparent. Base classes, key styles, and behaviors have been adjusted for flexibility and our <em>mobile first</em> approach. Here's a partial list:</p>
<ul> <ul>
<li>Text-based form controls are now 100% wide. Wrap inputs inside <code>&lt;div class="col-*"&gt;&lt;/div&gt;</code> to control input widths.</li> <li>By default, text-based form controls now receive only minimal styling. For focus colors and rounded corners, apply the <code>form-control</code> class on the element to style.</li>
<li>Text-based form controls with the <code>form-control</code> class applied are now 100% wide by default. Wrap inputs inside <code>&lt;div class="col-*"&gt;&lt;/div&gt;</code> to control input widths.</li>
<li><code>.badge</code> no longer has contextual (-success,-primary,etc..) classes.</li> <li><code>.badge</code> no longer has contextual (-success,-primary,etc..) classes.</li>
<li><code>.btn</code> must also use <code>.btn-default</code> to get the "default" button.</li> <li><code>.btn</code> must also use <code>.btn-default</code> to get the "default" button.</li>
<li><code>.container</code> and <code>.row</code> are now fluid (percentage-based).</li> <li><code>.container</code> and <code>.row</code> are now fluid (percentage-based).</li>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment