mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
Use one line per tag in code snippet for One class, multiple tags
This commit is contained in:
parent
7b7a02542b
commit
04a20fb402
@ -1550,13 +1550,9 @@ For example, <code>section</code> should be wrapped as inline.
|
|||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<a class="btn" href="">Link</a>
|
<a class="btn" href="">Link</a>
|
||||||
<button class="btn" type="submit">
|
<button class="btn" type="submit">Button</button>
|
||||||
Button
|
<input class="btn" type="button" value="Input">
|
||||||
</button>
|
<input class="btn" type="submit" value="Submit">
|
||||||
<input class="btn" type="button"
|
|
||||||
value="Input">
|
|
||||||
<input class="btn" type="submit"
|
|
||||||
value="Submit">
|
|
||||||
</pre>
|
</pre>
|
||||||
<p>As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code><input type="submit"></code> for your button.</p>
|
<p>As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code><input type="submit"></code> for your button.</p>
|
||||||
|
|
||||||
|
10
docs/templates/pages/base-css.mustache
vendored
10
docs/templates/pages/base-css.mustache
vendored
@ -1487,13 +1487,9 @@
|
|||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<a class="btn" href="">{{_i}}Link{{/i}}</a>
|
<a class="btn" href="">{{_i}}Link{{/i}}</a>
|
||||||
<button class="btn" type="submit">
|
<button class="btn" type="submit">{{_i}}Button{{/i}}</button>
|
||||||
{{_i}}Button{{/i}}
|
<input class="btn" type="button" value="{{_i}}Input{{/i}}">
|
||||||
</button>
|
<input class="btn" type="submit" value="{{_i}}Submit{{/i}}">
|
||||||
<input class="btn" type="button"
|
|
||||||
value="{{_i}}Input{{/i}}">
|
|
||||||
<input class="btn" type="submit"
|
|
||||||
value="{{_i}}Submit{{/i}}">
|
|
||||||
</pre>
|
</pre>
|
||||||
<p>{{_i}}As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code><input type="submit"></code> for your button.{{/i}}</p>
|
<p>{{_i}}As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code><input type="submit"></code> for your button.{{/i}}</p>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user