Skip to content

Instantly share code, notes, and snippets.

<body>
<amp-sidebar layout="container">
<!--
There is no way to currently do a fixed width layout, so either we need to create
one or have them use container and size via CSS.
-->
<amp-sidebar-desktop-sizer layout="fixed-width" width="300" media="(min-width: 800px)"></amp-sidebar-desktop-sizer>
<amp-sidebar-content layout="nodisplay">
<ul>...</ul>
</amp-sidebar-content>