Skip to content

Commit 47a24c9

Browse files
committed
fix: hide blinking text caret outside inputs via caret-color: transparent
1 parent 5192b10 commit 47a24c9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/styles/global.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ body {
77
min-height: 100vh;
88
font-size: 14px;
99
transition: background 0.2s, color 0.2s;
10+
caret-color: transparent;
1011
}
1112

13+
input, textarea { caret-color: auto; }
14+
1215
a { color: inherit; text-decoration: none; }
1316

1417
button { font-family: inherit; cursor: pointer; }

0 commit comments

Comments
 (0)