Skip to content

Commit 3eb0770

Browse files
committed
Use custom appearance for selects
1 parent c817e05 commit 3eb0770

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/playground.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,12 +472,18 @@
472472
select {
473473
border: none;
474474
border-radius: 6px;
475-
padding: 6px;
475+
padding: 6px 28px 6px 6px;
476476

477477
margin: 14px 15px 14px 0;
478478
font-family: system-ui;
479479
font-weight: bold;
480480
font-size: 10pt;
481+
482+
appearance: none;
483+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OCA0OCI+CjxwYXRoIGZpbGw9IiMyMTk2RjMiIGQ9Ik00MyAxNy4xTDM5LjkgMTQgMjQgMjkuOSA4LjEgMTQgNSAxNy4xIDI0IDM2eiI+PC9wYXRoPgo8L3N2Zz4=);
484+
background-repeat: no-repeat;
485+
background-position: right 6px center;
486+
background-size: 16px;
481487
}
482488

483489
button {

0 commit comments

Comments
 (0)