How to build responsive web site navigation with no Javascript
In this video, I'll teach you to build fancy collapsible navigation without using any Javascript. Just HTML and CSS!
If you want to work along, start from this: https://codepen.io/raddevon/pen/xxRVmOQ
Open that Pen and click the "Fork" button in the bottom-right so you can get your own copy to work with.
Here's the CSS framework I used: https://milligram.io/
I talk about the "+" selector and refer to it in the video as the "sibling selector." More accurately, it's the adjacent sibling selector. It only selects the UL if it is a sibling of the checked checkbox and also if the two are adjacent (meaning no elements between).
Hope you enjoy this tutorial! Post in the comments if you have any questions.
Видео How to build responsive web site navigation with no Javascript канала Rad Devon
If you want to work along, start from this: https://codepen.io/raddevon/pen/xxRVmOQ
Open that Pen and click the "Fork" button in the bottom-right so you can get your own copy to work with.
Here's the CSS framework I used: https://milligram.io/
I talk about the "+" selector and refer to it in the video as the "sibling selector." More accurately, it's the adjacent sibling selector. It only selects the UL if it is a sibling of the checked checkbox and also if the two are adjacent (meaning no elements between).
Hope you enjoy this tutorial! Post in the comments if you have any questions.
Видео How to build responsive web site navigation with no Javascript канала Rad Devon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![The Git Together- Let's learn Git live together!](https://i.ytimg.com/vi/H7m0xVdGZqg/default.jpg)
![Start Getting Paid as a Web Developer 💰](https://i.ytimg.com/vi/Aa7Dw2rvnkc/default.jpg)
![Ship It School 📦 - Season 1 (JamMate), Episode 2](https://i.ytimg.com/vi/hlY0ucnLcY4/default.jpg)
![Build an HTTP client and juggle Async calls 🤹♀️ – First Steps 👶 with Node.js Part 3](https://i.ytimg.com/vi/HnbTXHblARk/default.jpg)
![Don't Chase the Hottest Technologies ⚛️🏃♀️](https://i.ytimg.com/vi/118Tj-ETYBc/default.jpg)
![📦 Learn SQL! CREATE tables! INSERT, UPDATE, and DELETE data! Learn tricks of the SELECT query pros!](https://i.ytimg.com/vi/fzJ2soEsErI/default.jpg)
![🎁 Web Developer 2020 Gift Guide 🎁 Books, hardware, and software for the web dev in your life](https://i.ytimg.com/vi/TFIcUn51-6s/default.jpg)
![Stop Waiting for Permission 👏 with Anything You Want by Derek Sivers](https://i.ytimg.com/vi/A-i13eXn_5A/default.jpg)
![A New Year's resolution to become a web developer but this one actually works](https://i.ytimg.com/vi/BSGr-N2QZ00/default.jpg)
![Your code is garbage. 💻🗑 It's OK, though. You've just got to learn not to be precious about it.](https://i.ytimg.com/vi/-L0hPhYB9GE/default.jpg)
![Become a Web Developer Roadmap- Step 1: Set Your Big Goal](https://i.ytimg.com/vi/taV-BsYqkos/default.jpg)
![Can I get a web development job without experience?](https://i.ytimg.com/vi/O-p_XIpeERo/default.jpg)
![First Steps 👶 with Node.js](https://i.ytimg.com/vi/hRXFobkJN1M/default.jpg)
![Kill distractions while coding at home with this book 🛠⏰](https://i.ytimg.com/vi/QQSlI5T0644/default.jpg)
![Become a Web Developer Roadmap- Step 4: Learn Terminal, Git, and Deployment](https://i.ytimg.com/vi/fn4kJcbk72Q/default.jpg)
![Web Dev Book Club: The Lean Startup 📘](https://i.ytimg.com/vi/mNE8mKfK3XA/default.jpg)
![Become a Web Developer Roadmap- Step 5: Networking (Relationships are make or break!)](https://i.ytimg.com/vi/x5BpLs_CIdQ/default.jpg)
![Kill Your Portfolio ☠️- Your web dev portfolio is meant to build trust but there are better ways.](https://i.ytimg.com/vi/KaTLsg_-2Nk/default.jpg)
![4 strategies for handling NIGHTMARE CLIENTS 😈 (plus a bonus tip that can eliminate them entirely)!](https://i.ytimg.com/vi/fUbU6Hq1TTo/default.jpg)
![Don't fall for these tricks in your Slack developer chats 😈](https://i.ytimg.com/vi/7OOW-548I6E/default.jpg)