tarotcard.css/test/index.html

59 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="HandheldFriendly" content="true" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width, user-scalable=no" />
<title>tarotcard.css Test Page</title>
<style>
body {
height: 100vh;
background: #000056;
margin: 0 auto;
overflow-y: hidden;
}
.center-grid {
height: 100vh;
display: flex;
justify-content: space-evenly;
align-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">
<p class="tarot-card__title">The Simple Card.</p>
</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 tarot-card--deal">
<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">
<p class="tarot-card__title">The Deal Card.</p>
</div>
</div>
</div>
</body>
</html>