@@Rolf b
.hexagon:hover:before { border-bottom: 86.60px solid red; } .hexagon:hover:after { border-top: 86.60px solid red; }
Nein. DRY geht anders. Es ist lediglich die Farbe zu ändern, nicht alles:
.hexagon:hover::before
{
border-bottom-color: red;
}
.hexagon:hover::after
{
border-top-color: red;
}
LLAP 🖖
--
“When UX doesn’t consider all users, shouldn’t it be known as ‘Some User Experience’ or... SUX? #a11y” —Billy Gregory
“When UX doesn’t consider all users, shouldn’t it be known as ‘Some User Experience’ or... SUX? #a11y” —Billy Gregory