mirror of
https://github.com/picocss/pico.git
synced 2025-04-22 01:26:13 -04:00
96 lines
2.8 KiB
HTML
96 lines
2.8 KiB
HTML
![]() |
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
${require('./_head.html')
|
||
|
title="Horizontal scroller"
|
||
|
description="<figure> acts as a container to make any content scrollable horizontally."
|
||
|
canonical="scroller.html"
|
||
|
}
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
${require('./_nav.html')}
|
||
|
|
||
|
<main class="container" id="docs">
|
||
|
${require('./_sidebar.html') active="scroller-link"}
|
||
|
|
||
|
<div role="document">
|
||
|
<section id="scroller">
|
||
|
<hgroup>
|
||
|
<h2>Horizontal scroller</h2>
|
||
|
<h3><code><<b>figure</b>></code> acts as a container to make any content scrollable horizontally.</h3>
|
||
|
</hgroup>
|
||
|
<p>Useful to have responsive <code><<b>table</b>></code></p>
|
||
|
<figure>
|
||
|
<table role="grid">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th scope="col">#</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
<th scope="col">Heading</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<tr>
|
||
|
<th scope="row">1</th>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">2</th>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<th scope="row">3</th>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
<td>Cell</td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</figure>
|
||
|
|
||
|
<pre><code><<b>figure</b>>
|
||
|
<<b>table</b>>
|
||
|
…
|
||
|
</<b>table</b>>
|
||
|
</<b>figure</b>></code></pre>
|
||
|
|
||
|
</section>
|
||
|
|
||
|
${require('./_footer.html')}
|
||
|
|
||
|
</div>
|
||
|
</main>
|
||
|
<script src="js/commons.min.js"></script>
|
||
|
</body>
|
||
|
</html>
|