1
0
mirror of https://github.com/jdan/98.css.git synced 2025-01-17 12:48:32 +01:00

select focus style

This commit is contained in:
Jordan Scales 2020-04-18 11:10:45 -04:00
parent ef88386825
commit 0e9c29ab58
2 changed files with 11 additions and 2 deletions

View File

@ -33,7 +33,7 @@
<fieldset>
<legend>I think it's</legend>
<div class="field-row">
<input id="cool" type="radio" value="cool" name="answer">
<input checked id="cool" type="radio" value="cool" name="answer">
<label for="cool">Cool</label>
</div>
@ -43,7 +43,7 @@
</div>
<div class="field-row">
<input checked disabled id="idk" type="radio" value="idk" name="answer">
<input disabled id="idk" type="radio" value="idk" name="answer">
<label for="idk">Idk</label>
</div>

View File

@ -328,6 +328,15 @@ textarea:focus {
outline: none;
}
select:focus {
color: var(--button-highlight);
background-color: var(--dialog-blue);
}
select:focus option {
color: #000;
background-color: #fff;
}
select:active {
background-image: url("./button-down-active.svg");
}