Created
August 31, 2017 15:39
-
-
Save jecfish/2715461ef3451d69a6372d465c46bb19 to your computer and use it in GitHub Desktop.
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
<!-- cards.template.html --> | |
<div class="cards"> | |
<template is="dom-repeat" items="[[cards]]"> | |
<div class$="[[getClass(item)]]" on-tap="flip"> | |
<div class="face cover"> | |
<img src="{{item.coverImageUrl}}" alt="cover"> | |
</div> | |
<div class="face value"> | |
<img src="{{item.imageUrl}}" alt="card"> | |
</div> | |
</div> | |
</div> | |
</div> | |
<style> | |
// css here | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment