mirror of
https://github.com/frainfreeze/the-monospace-web-pandoc
synced 2026-02-27 16:51:57 -08:00
make radio buttons round
This commit is contained in:
@@ -327,6 +327,10 @@ input[type=radio]:checked:before {
|
|||||||
height: calc(var(--line-height) / 2);
|
height: calc(var(--line-height) / 2);
|
||||||
background: var(--text-color);
|
background: var(--text-color);
|
||||||
}
|
}
|
||||||
|
input[type=radio],
|
||||||
|
input[type=radio]:before {
|
||||||
|
border-radius: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
button:focus, input:focus {
|
button:focus, input:focus {
|
||||||
--border-thickness: 3px;
|
--border-thickness: 3px;
|
||||||
|
|||||||
@@ -203,6 +203,11 @@ Save
|
|||||||
name <input type="text" placeholder="Text goes here..." /></label>
|
name <input type="text" placeholder="Text goes here..." /></label>
|
||||||
<label>Age <input type="text" value="30" /></label>
|
<label>Age <input type="text" value="30" /></label>
|
||||||
</form>
|
</form>
|
||||||
|
<form class="grid">
|
||||||
|
<label><input name="radio" type="radio" /> One</label>
|
||||||
|
<label><input name="radio" type="radio" /> Two</label>
|
||||||
|
<label><input name="radio" type="radio" /> Three</label>
|
||||||
|
</form>
|
||||||
<h2 id="grids">Grids</h2>
|
<h2 id="grids">Grids</h2>
|
||||||
<p>Add the <code>grid</code> class to a container to divide up the
|
<p>Add the <code>grid</code> class to a container to divide up the
|
||||||
horizontal space evenly for the cells. Note that it maintains the
|
horizontal space evenly for the cells. Note that it maintains the
|
||||||
|
|||||||
Reference in New Issue
Block a user