Codelab: Membangun komponen Sidenav
2 Juli 2021
Artikel
This codelab teaches you how to build a responsive slide out side navigation layout component on the web. We’ll build the component as we go, starting with HTML, then CSS, then JavaScript.
Check out my blog post Building a Sidenav component to learn about the CSS web platform features chosen for building this component.
Mempersiapkan #
- Click Remix to Edit to make the project editable.
- Open
app/index.html
.
HTML #
First, get the essentials of the HTML setup so there’s content and some boxes to work with.
Drop the following HTML into the tag.
aside>aside>
main>main>
NS