mirror of
https://github.com/jdan/98.css.git
synced 2025-08-31 01:29:58 +02:00
Added documentation w/ example
This commit is contained in:
@@ -141,10 +141,18 @@
|
|||||||
They are given 12px of horizontal padding by default.
|
They are given 12px of horizontal padding by default.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<%- example(`<button class="default">Click me</button>
|
<%- example(`<button>Click me</button>
|
||||||
<input type="submit" />
|
<input type="submit" />
|
||||||
<input type="reset" /> `)%>
|
<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>
|
<p>
|
||||||
When buttons are clicked, the raised borders become sunken.
|
When buttons are clicked, the raised borders become sunken.
|
||||||
The following button is simulated to be in the pressed (active) state.
|
The following button is simulated to be in the pressed (active) state.
|
||||||
|
Reference in New Issue
Block a user