From 28132c4e3bd88c632eee74f061b7c7b852bb6585 Mon Sep 17 00:00:00 2001 From: Yassin Bahassane Date: Tue, 30 Mar 2021 13:24:01 +0100 Subject: [PATCH] update rotating-card.md --- snippets/rotating-card.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/rotating-card.md b/snippets/rotating-card.md index d79f282e5..53763352b 100644 --- a/snippets/rotating-card.md +++ b/snippets/rotating-card.md @@ -5,7 +5,7 @@ tags: animation,advanced Creates a two sided card which rotates on hover. -- Set the the `backface-visibility` of the cards to none. +- Set the `backface-visibility` of the cards to none. - Initially, set `rotateY` for the back side of the card to `-180deg` and the front side to `0deg`. - Upon hover, set `rotateY` for the front side to `180deg` and backside to `0deg`. - Set the appropriate `perspective` value to create the rotate effect.