1
0
mirror of https://github.com/jdan/98.css.git synced 2026-05-05 06:01:22 +09:00

Merge pull request #192 from vtlanglois/add-default-button-outline-styling

Add `default` button outline styling
This commit is contained in:
Juani Garay
2024-02-10 13:40:44 -03:00
committed by GitHub
2 changed files with 25 additions and 0 deletions

View File

@@ -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.