]> git.ardis.lu - google-forms-frontend/commitdiff
Improve underline effect
authorArdis Lu <ardisglu@gmail.com>
Tue, 18 Oct 2022 02:33:40 +0000 (19:33 -0700)
committerArdis Lu <ardisglu@gmail.com>
Tue, 18 Oct 2022 02:33:40 +0000 (19:33 -0700)
index.html

index 18866f08bc3a3a5669465282c592eeec00ae84f2..661e3a9ef2be8922a2f75e63291f5898ccadfd71 100644 (file)
@@ -50,7 +50,7 @@
       block-size: 2px;
       background: var(--secondary);
       transform: scaleX(0);
-      transform-origin: left;
+      transform-origin: right;
       transition: transform 400ms;
     }
 
@@ -58,6 +58,7 @@
     a:focus::after {
       transform: scaleX(1);
       transition: transform 150ms;
+      transform-origin: left;
     }
 
     button {
This page took 0.032798 seconds and 4 git commands to generate.