Skip to content

Commit 5a4c94f

Browse files
committed
Fix FlipCard component for Firefox
Fixes #94
1 parent cd2f1d6 commit 5a4c94f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/FlipCard.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@
3131
.flip-card-face {
3232
grid-area: 1 / 1 / 2 / 2;
3333
backface-visibility: hidden;
34+
-webkit-backface-visibility: hidden;
3435
}
3536

3637
.flip-card-front {
3738
z-index: 2;
3839
height: 100%;
40+
transform: rotateY(0deg);
3941
}
4042

4143
.flip-card-back {

0 commit comments

Comments
 (0)