mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
Use one line per tag in code snippet for One class, multiple tags
This commit is contained in:
@@ -1550,13 +1550,9 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<a class="btn" href="">Link</a>
|
||||
<button class="btn" type="submit">
|
||||
Button
|
||||
</button>
|
||||
<input class="btn" type="button"
|
||||
value="Input">
|
||||
<input class="btn" type="submit"
|
||||
value="Submit">
|
||||
<button class="btn" type="submit">Button</button>
|
||||
<input class="btn" type="button" value="Input">
|
||||
<input class="btn" type="submit" value="Submit">
|
||||
</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>
|
||||
|
||||
|
Reference in New Issue
Block a user