]> git.ardis.lu - erc-165-calculator/commitdiff
Match <select> CSS with <button>
authorArdis Lu <ardisglu@gmail.com>
Tue, 24 Oct 2023 04:22:18 +0000 (21:22 -0700)
committerArdis Lu <ardisglu@gmail.com>
Tue, 24 Oct 2023 04:22:18 +0000 (21:22 -0700)
index.html

index c97ebf30479a159b81483dcb7c7c7572fd934018..8d1538c5705edc3a33a758c8ad92cc87558ed6a9 100644 (file)
       border: 1px solid hsl(216deg 50% 50%);
     }
 
+    button,
+    select {
+      cursor: pointer;
+      transition: filter 400ms;
+    }
+
     select {
       padding: 4px;
     }
 
     button {
       padding: 4px 8px;
-      cursor: pointer;
-      transition: filter 400ms;
     }
 
-    button:hover,
-    button:focus {
+    :is(button, select):is(:hover, :focus) {
       filter: brightness(110%);
       transition: filter 200ms;
     }
This page took 0.036508 seconds and 4 git commands to generate.