tarotcard.css/test/index.html

50 lines
1.4 KiB
HTML
Raw Normal View History

2023-12-01 13:59:53 +00:00
<!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"/>
2023-12-01 15:09:05 +00:00
<link rel="stylesheet" href="styles/tarotcard-deal.css"/>
2023-12-01 13:59:53 +00:00
</head>
<body>
<div class="center-grid">
2023-12-01 15:09:05 +00:00
<!-- Simplest possible card. Just displays a title and a piece of artwork. -->
2023-12-01 13:59:53 +00:00
<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>
2023-12-01 13:59:53 +00:00
</div>
2023-12-01 15:09:05 +00:00
<!-- 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>
2023-12-01 13:59:53 +00:00
</div>
</body>
</html>