YahyaMuminDaud / Minigames-Website

0 stars 0 forks source link

Firefox card game problem #1

Open Xpost2000 opened 2 months ago

Xpost2000 commented 2 months ago
.item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #209d7b;
    transition: 0.25s;
    transform: rotateY(0deg);
    backface-visibility: hidden;
}

The transform: rotateY(0deg); line misbehaves on firefox, something to do with the backface culling. Just remove it.

Xpost2000 commented 2 months ago

image

NOTE: this is what I see on firefox w/o fix.

Non-visible cards are just mirrored, but do not have the background.