tarotcard.css/test/index.html

50 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>tarotcard.css Test Page</title>
<style>
body {
height: 100vh;
background: #000056;
}
.center-grid {
height: 100vh;
display: grid;
place-items: center;
}
</style>
<link rel="stylesheet" href="styles/tarotcard.css"/>
<link rel="stylesheet" href="styles/tarotcard-deal.css"/>
</head>
<body>
<div class="center-grid">
<!-- Simplest possible card. Just displays a title and a piece of artwork. -->
<div id="simple-card" class="tarot-card">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art" src="images/card_art_std.jpg" alt="The Simple Card artwork image." title="The Simple Card artwork image.">
</div>
<div class="tarot-card__section tarot-card__section--title">
<h1 class="tarot-card__title">The Simple Card.</h1>
</div>
</div>
<!-- Identical to The Simple Card, but uses the "deal" animation to slide in when the page is loaded. -->
<div id="deal-card" class="tarot-card">
<div class="tarot-card__section tarot-card__section--art">
<img class="tarot-card__art" src="images/card_art_std.jpg" alt="The Deal Card artwork image." title="The Simple Card artwork image.">
</div>
<div class="tarot-card__section tarot-card__section--title">
<h1 class="tarot-card__title">The Deal Card.</h1>
</div>
</div>
</div>
</body>
</html>