Skip to content

Commit

Permalink
Inclusion of zIndex on jp-card-front fixes rotation of card to back
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason committed Aug 4, 2016
1 parent 1e98e04 commit 4e98fb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/card.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/scss/card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
@include transform(rotateY(180deg));
}

.jp-card-front {
z-index: 2;
}

.jp-card-front, .jp-card-back {
@include backface-visibility(hidden);
@include transform-style(preserve-3d);
Expand Down

0 comments on commit 4e98fb5

Please sign in to comment.