]> git.ardis.lu - css-loaders/commitdiff
Simplify base CSS for .card
authorArdis Lu <ardisglu@gmail.com>
Sun, 25 Feb 2024 05:03:52 +0000 (21:03 -0800)
committerArdis Lu <ardisglu@gmail.com>
Sun, 25 Feb 2024 05:03:52 +0000 (21:03 -0800)
index.html

index 6d7505ff0dad9c2b6960e516b5ca350286fd9d5a..aaece973d0e8c8203143e6df210a8532e06e7036 100644 (file)
     .card {
       inline-size: min(100% - 2rem, 400px);
       padding: 16px;
+      border-radius: 12px;
+      border: 1px solid hsl(0deg 0% 70%);
     }
 
     .card-content.rainbow-border {
     }
 
     .card.rainbow-border {
-      border-radius: 12px;
-      border: 1px solid hsl(0deg 0% 70%);
       position: relative;
       transition: border-color 1400ms;
     }
     }
 
     .card.rainbow-gradient {
-      border-radius: 12px;
-      border: 1px solid hsl(0deg 0% 70%);
       background: hsl(216deg 40% 95% / 0.5);
       transition: border-color 700ms, background-color 2000ms;
       position: relative;
     .card.hover-detail {
       block-size: 148px;
       background: hsl(0deg 0% 98%);
-      border: 1px solid hsl(0deg 0% 70%);
-      border-radius: 12px;
       position: relative;
       transition: filter 800ms;
     }
 
     .card.hover-grow {
       margin-block: 8px;
-      border: 1px solid hsl(0deg 0% 70%);
-      border-radius: 12px;
       will-change: transform;
       transition: scale 400ms;
     }
 
     .card.text-focus {
       margin-block: 8px;
-      border: 1px solid hsl(0deg 0% 70%);
-      border-radius: 12px;
     }
 
     .text-focus p {
 
     .card.big-box-shadow {
       margin-block: 8px;
-      border: 1px solid hsl(0deg 0% 70%);
-      border-radius: 12px;
       transition: padding 400ms, border 400ms, box-shadow 400ms;
     }
 
This page took 0.036749 seconds and 4 git commands to generate.