mirror of
https://github.com/jgthms/bulma
synced 2026-03-15 02:04:29 -07:00
Add helpful tip to docs
I was thinking if someone wasn't aware that you could also use `<button type="submit"></button>` instead of `<input type="submit">` that this could save them some time (and possibly prevent them abandoning the idea of using this lovely animated loading button)
This commit is contained in:
@@ -659,7 +659,7 @@ meta:
|
||||
<div class="message is-info">
|
||||
<div class="message-body">
|
||||
<p>
|
||||
Since the loading spinner is implemented using the <code>:after</code> pseudo-element, it is not supported by the <code><input type="submit"></code> element.
|
||||
Since the loading spinner is implemented using the <code>:after</code> pseudo-element, it is not supported by the <code><input type="submit"></code> element. Consider using <code><button type="submit"></code> instead.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user