Skip to content

Commit 081b134

Browse files
committed
style(button): add transition effects for improved button interaction
1 parent 62e7e49 commit 081b134

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/docsearch-css/src/button.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@
6161
border: 0;
6262
top: -1px;
6363
width: 20px;
64+
transition-property: all;
65+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
66+
transition-duration: 100ms;
6467
}
6568

6669
.DocSearch-Button-Key--pressed {

0 commit comments

Comments
 (0)