-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override flipping animations for IE.
IE doesn't support the hidden backing property very well. The best I could do was make it so that it works in Chrome and will flip instantly in IE. Unfortunately, to do that, I had to override the classes and copy over some of the CSS from Spotlight.
- Loading branch information
1 parent
cd1b9a6
commit 7276bed
Showing
2 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="col-xs-12 col-sm-4 exhibit-card"> | ||
<div class="flipping"> | ||
<div class="card-fronting card-face"> | ||
<%= render 'exhibit_card_front', exhibit: exhibit %> | ||
</div> | ||
<div class="card-backing card-face"> | ||
<%= render 'exhibit_card_back', exhibit: exhibit %> | ||
</div> | ||
</div> | ||
</div> |