Przeglądaj źródła

Update button.css

David Hill 4 miesięcy temu
rodzic
commit
dbdbfb8543
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      packages/ui/src/components/button.css

+ 4 - 0
packages/ui/src/components/button.css

@@ -50,6 +50,10 @@
     &:focus-visible:active {
       box-shadow: none;
     }
+    &:active {
+      scale: 0.99;
+      transition: all 150ms ease-out;
+    }
 
     [data-slot="icon"] {
       color: var(--icon-strong-base);