mirror of
https://github.com/picocss/pico.git
synced 2025-04-23 01:46:14 -04:00
49 lines
1.4 KiB
HTML
49 lines
1.4 KiB
HTML
![]() |
<!doctype 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>
|
||
|
<h2>Cards</h2>
|
||
|
<h3>A flexible container with graceful spacings across devices and viewports.</h3>
|
||
|
</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>
|