See the Pen Magic Card by Webcorgi (@Webcorgi) on CodePen.
See the Pen card rotate by Webcorgi (@Webcorgi) on CodePen.