@picocss/pico
Version:
Minimal CSS Framework for semantic HTML
49 lines (41 loc) • 1.44 kB
HTML
<html lang="en">
<head>
${require('./_head.html')
title="Cards"
description="A flexible container with graceful spacings across devices and viewports."
canonical="cards.html"
}
</head>
<body>
${require('./_nav.html')}
<main class="container" id="docs">
${require('./_sidebar.html') active="cards-link"}
<div role="document">
<section id="cards">
<hgroup>
<h1>Cards</h1>
<h2>A flexible container with graceful spacings across devices and viewports.</h2>
</hgroup>
<article aria-label="Card example">
I'm a card!
</article>
<pre><code><<b>article</b>>I'm a card!</<b>article</b>></code></pre>
<p>You can use <code><<b>header</b>></code> and footer <code><<b>footer</b>></code> inside <code><<b>article</b>></code></p>
<article aria-label="Card sectioning example">
<header>Header</header>
Body
<footer>Footer</footer>
</article>
<pre><code><<b>article</b>>
<<b>header</b>>Header</<b>header</b>>
Body
<<b>footer</b>>Footer</<b>footer</b>>
</<b>article</b>></code></pre>
</section>
${require('./_footer.html')}
</div>
</main>
<script src="js/commons.min.js"></script>
</body>
</html>