0px 4.3px 4.8px -1.2px hsl(0deg 0% 69% / 0.17),
0px 8.4px 9.5px -1.9px hsl(0deg 0% 69% / 0.17),
0.1px 16px 18px -2.5px hsl(0deg 0% 69% / 0.17);
- background: hsl(0deg 0% 90%);
+ background: hsl(216deg 40% 95% / 0.5);
transition: border-color 700ms, background-color 700ms;
position: relative;
}
.card > * {
margin: 0; /* Margins for children elements are already handled by gap in .card */
- background: inherit;
+ background: transparent;
}
.card:hover, .card:focus-within {
- border: solid hsl(216deg 20% 55% / 0.1);
- background: hsl(216deg 20% 90%);
+ border: solid transparent;
+ background: hsl(216deg 40% 95% / 0.95);
transition: border-color 250ms, background-color 250ms;
}