Skip to content

Commit a830235

Browse files
committed
improve form focus
1 parent 505080f commit a830235

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/forms.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ textarea {
1010
width: 100%;
1111
display: inline-block;
1212
border: 1px solid var(--border);
13+
14+
&:focus {
15+
outline-color: var(--accent);
16+
border: 1px solid var(--accent);
17+
outline: none;
18+
box-shadow: 0 0 10px var(--accent);
19+
}
1320
}
1421

1522
input[type="checkbox"],

0 commit comments

Comments
 (0)