mirror of
https://github.com/picocss/pico.git
synced 2025-04-24 18:26:14 -04:00
Docs: separate pages
This commit is contained in:
parent
cea5c8c04c
commit
bbb53c7dd4
61 changed files with 2994 additions and 1498 deletions
48
docs/src/cards.html
Normal file
48
docs/src/cards.html
Normal file
|
@ -0,0 +1,48 @@
|
|||
<!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>
|
Loading…
Add table
Add a link
Reference in a new issue