Merge pull request #192 from vtlanglois/add-default-button-outline-styling
Add `default` button outline styling
This commit is contained in:
commit
ffa29f4cd9
2 changed files with 25 additions and 0 deletions
|
|
@ -145,6 +145,14 @@
|
|||
<input type="submit" />
|
||||
<input type="reset" /> `)%>
|
||||
|
||||
<p>
|
||||
You can add the class <code>default</code> to any button to apply additional styling,
|
||||
useful when communicating to the user what default action would happen in the active window if
|
||||
the <kbd>Enter</kbd> key was pressed on Windows 98.
|
||||
</p>
|
||||
|
||||
<%- example(`<button class="default">OK</button>`)%>
|
||||
|
||||
<p>
|
||||
When buttons are clicked, the raised borders become sunken.
|
||||
The following button is simulated to be in the pressed (active) state.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue