]> git.ardis.lu - css-loaders/commitdiff
Add link hovers section
authorArdis Lu <ardisglu@gmail.com>
Tue, 9 May 2023 04:39:36 +0000 (21:39 -0700)
committerArdis Lu <ardisglu@gmail.com>
Tue, 9 May 2023 04:39:36 +0000 (21:39 -0700)
index.html

index d7f0a9cba7de93f5db86263829a5cadd99bbdb14..07eb185f832484c34a5d1d112c7d67c6279467e1 100644 (file)
       transform: translateX(4px);
       transition: transform 200ms;
     }
+
+    /* Link hovers */
+
+    .thick-underline {
+      font-size: 2rem;
+      color: inherit;
+      text-decoration: underline;
+      transition: color 600ms;
+    }
+
+    .thick-underline:hover,
+    .thick-underline:focus {
+      color: hsl(216deg 80% 40%);
+      text-decoration-thickness: 0.2em;
+      transition: color 200ms;
+    }
   </style>
   <link rel="icon" href="data:,">
   <title>css-loaders</title>
         <span>→</span>
       </button>
     </section>
+
+    <section>
+      <h1>Link hovers</h1>
+
+      <a href="https://example.com" class="thick-underline">Thick underline</a>
+    </section>
 </body>
 
 </html>
\ No newline at end of file
This page took 0.044189 seconds and 4 git commands to generate.