Тёмный

Responsive Pure CSS Menu Tutorial (No Javascript) 

FollowAndrew
Подписаться 44 тыс.
Просмотров 133 тыс.
50% 1

Design a responsive css menu without javascript using pure HTML5 and CSS3. This how to tutorial video will cover creating a responsive menu system that doesn't rely on Javascript & is also accessible. It will respond to mobile & tablet breakpoints and uses a mobile first menu approach. There is some fun css animations for the responsive hamburger menu as well. Below are the starting files along with other mentioned resources:
Starting HTML & CSS Files: github.com/wilsmex/edu/tree/m...
Ending HTML & CSS Files: github.com/wilsmex/edu/tree/m...
VS Code Editor: code.visualstudio.com
CSS Positioning Tutorial: • 11 CSS Positioning
Hosting Needs: studentwebhosting.com

Опубликовано:

 

5 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 280   
@FollowAndrew
@FollowAndrew 5 лет назад
Hi folks! Just added another awesome video tutorial, this one covering html and css responsive menus without any javascript! Another tutorial with Flexbox nav: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6pidsgeLLzE.html Thumbs up, like, subscribe and all that good stuff...
@zoltakevangee4445
@zoltakevangee4445 5 лет назад
Hey Andrew. hi how u doing? i really hope u oookay!! You have no idea how valuable this video was...Its a big effor from u making this video and I appreciate it i mean it...Tnanks thanks thanks...long life for u my brother...
@frederickadewole7434
@frederickadewole7434 5 лет назад
i genuinely understand this tutorial but when i try to do it on my own following same directions, it didn't work for me but when i copied yours from github it function fine, my issue is with the (:checked) part, i've looked at it carefully and i still don't know what's wrong with it....... i really need your help
@krissloo143
@krissloo143 4 года назад
you forgot the hit the bill part :)
@BillyLoweBeauty
@BillyLoweBeauty 4 года назад
add logo?? float logo left,,, menu right??? should logo be part of navigation or set aside??
@hazelwize7384
@hazelwize7384 2 года назад
This is an extremely well done tutorial. I could tell that you were fighting the urge to make your code DRY. Leaving it broken down into the chunks of thought was great from a learning perspective. Great job!
@NorlynCodes
@NorlynCodes 4 года назад
I have checked a lot it videos on how to do this using only css. This is the most well-explained tutorial. Perfect for me. Thank you
@drewstifler1440
@drewstifler1440 4 года назад
Explaining and understanding the smallest details is the key in learning. Gotta check your other videos. You got yourself a new subscriber!
@ChrisPollard
@ChrisPollard 3 года назад
Nicely done tutorial. Easy to follow along, and appreciate that you took the time to explain the sibling selector instead of just leaving people to either a) already know or b) blindly type along without knowing why. The why is usually more important than just the how. It's always better to understand why you do something a certain way!
@BoyanRnR
@BoyanRnR 3 года назад
I searched for days to find detailed explanation video of how this thing works and watched many clips on RU-vid. As for my concern, yours is the best! Thank you for sharing your knowledge.
@oncalldev
@oncalldev 3 года назад
As always, clean and to the point breakdown of a single topic with a lot of solid information.
@ernestukut2767
@ernestukut2767 7 месяцев назад
Nice one! Just noticed it was published 4 years ago! OMG! I've been sleeping to much. Thanks Andrew.
@richardsinkler5898
@richardsinkler5898 3 месяца назад
You are AWESOME!!! So many videos on this subject, they don't explain things like you do. Some you can't even understand them. This is exactly what I need for a website I am making. I just need to figure out how to make it multi-level, but that shouldn't be too hard. I am now subscribed and will be checking out more of your videos.
@davidglabais4919
@davidglabais4919 Год назад
Wow. This is the best video I've ever watched on youtube for coding basics!! You work at a pace that can be followed by us noobs and the clear and detailed explanations of each of the elements in the code are greatly appreciated! If I could make one request, it would be for tutorial on a slide -out hamburger menu created in VS studio and then implemented into a WordPress website!! Understanding that work process would be extremely valuable! Thank you so much for the great channel, new sub here.
@georgesmith3022
@georgesmith3022 3 года назад
i just found your channel and subscribed. this video was very well done. everything explained clearly. I watched all 43mins. Congrats!
@wikituby
@wikituby 8 месяцев назад
the first from zero basics explained ever, i have been looking for this since 2013, thanks you just saved me
@davidzwart2940
@davidzwart2940 4 года назад
43 minutes just flew by, amazing tutorial, clear and concise. Definitely deserves more subscribers!!
@FollowAndrew
@FollowAndrew 4 года назад
Glad it helped!
@stargazer3049
@stargazer3049 5 лет назад
Thank you so much for making this video. It was super helpful. You are an excellent teacher and you explain everything so clearly that I can actually understand what the code is doing.
@brendanfitzpatrick7399
@brendanfitzpatrick7399 4 года назад
Outstanding video! I've been searching 2 days for this solution, Thank you!
@raahi8581
@raahi8581 3 года назад
This video didn't feel too long at all. What good is a short video if it leaves you with more questions than before. Thank you for taking your time to explain in detail why you did what you did.
@MauriceMtl1965
@MauriceMtl1965 2 года назад
I'm not exactly a newbie but CSS has always been my weak point,so I followed, I paused, I tweaked, I unpaused, I followed some more and I learned so much! You are an excellent teacher, Andrew, and I love getting the context which triggered more than one lightbulb moment in me. Great stuff!
@decho5647
@decho5647 5 лет назад
I've been trying to get things to work for a while regarding Burger menu just plain HTML/CSS finally your tutoring class so awesome, thanks so much will watching definitely.
@paulies5407
@paulies5407 4 года назад
Great video. So much better than the other tutorials out there that breeze over the actual theory and rush things. Much appreciated.
@FollowAndrew
@FollowAndrew 4 года назад
Glad it helped!
@miguelrebelo3225
@miguelrebelo3225 4 года назад
Incredible. Perfectly and concisely explained. You've gained yourself a new subscriber!
@FollowAndrew
@FollowAndrew 4 года назад
Welcome aboard!
@vasudev16180
@vasudev16180 5 лет назад
Hi Andrew! I am your new subscriber. I really liked your teaching style. It's absolutely crystal clear. I request you to do this kind of work. You really have a great future on youtube as well.
@udayrajb
@udayrajb 3 года назад
Great tutorial, didn't feel lengthy at all. You are a great teacher. Thanks a ton!
@GerritforBazeja
@GerritforBazeja 4 года назад
I love this video on the menu but especially on your menu-bar for mobile version!! Top explanation, Thanks!
@semnijipa2649
@semnijipa2649 Год назад
Love this. This is an awesome tutorial. Thank you Andrew!
@music-ns4js
@music-ns4js 4 года назад
i love how you explain in details LOVE YOUR VIDEOs You got yourself a new subscriber!
@myoozikman
@myoozikman 4 года назад
Andrew, thank you so much for an awesome tutorial! This is exactly what I was looking for!
@p86167
@p86167 3 года назад
Self learner here. You are awsome, very easy to follow content you make me feel like a pro!
@prsh1989
@prsh1989 4 года назад
Amazing tutorial Sir. I searched for responsive navbar tutorial and all the ones I found were either with javascript or extremely hard to understand for a beginner like me. Thanks to god I found this tutorial. Sir, no one, no one in entire youtube has explained this concept of hamburger menu with only css, so beautifully and so clearly step by step in a manner that even a beginner can understand. While following you, I had literally smiled looking at the output and also because now I understand the background functionality of how actually this works because of checkbox. You have mastered the core concepts and helped us master too. You were hand-holding your viewers throughout and explained every logic so beautifully. Oh my god! To have mentors like you is a blessing. I am extremely extremely extremely thankful to you Sir for making such tutorials. Respect to you and god bless you Sir.
@FollowAndrew
@FollowAndrew 4 года назад
Thanks Priyank! I do try and explain the concepts in my videos, rather than just show the code. It takes a bit longer, but I’m glad you were able to follow along and pick up some tips & tricks. Best.
@jakeduhh2122
@jakeduhh2122 3 года назад
wow! detailed comment. But totally agree!
@ricardovegi7097
@ricardovegi7097 3 года назад
what's up guy, this video is amazing, I was to trying to make this menu bar, and I couldn't find by youtube, and you are showin be me, how many not is complicate, I learned by watching this one video of yours. congratulations man!
@FollowAndrew
@FollowAndrew 3 года назад
Glad I could help
@designasaur2965
@designasaur2965 3 года назад
"I really want to demo this so you can grasp what's happening" and this is what sets you apart. I have been just banging my head against the wall trying to understand this, thank you dude!!!!
@FollowAndrew
@FollowAndrew 2 года назад
It's little details like that that make the difference! Tricky and time consuming to cover, but if you're in the business of education, it's worth it!
@canvaMaster
@canvaMaster 4 года назад
Great video and a good pace from a very decent teacher because i've been battling for year to for coding to click and today it all did thanks. More power to you.
@FollowAndrew
@FollowAndrew 4 года назад
It's great to get that 'ah hah' moment!
@scottb2284
@scottb2284 4 года назад
Hi Andrew, I referenced you in an article/tutorial on a responsive menu. Thank you! Your tutorial was very helpful in coming to better understand this.
@FollowAndrew
@FollowAndrew 4 года назад
Sounds good. Blog away!
@Mayanksingh-qp6dy
@Mayanksingh-qp6dy 4 года назад
Even though the video was long, but it's worth watching. Nicely explained. Thank you so much for the tutorial.
@rickfearn3663
@rickfearn3663 4 года назад
Such clarity in you presentation, Andrew. And the simplicity in the coding is an inspiration. Most websites these days have coding on steroids - why do this if you can use first principles and keep it simple. Thanks so much Andrew.
@FollowAndrew
@FollowAndrew 4 года назад
Thanks Rick and you're welcome
@OrincyWhyteDesigns
@OrincyWhyteDesigns 2 года назад
The easiest subscribe in my history of youtube!!!! I wish I could like this video one million times. The algorithm was working in my favor today. Im just gonna rewatch it when I hit send on this comment. Thank you Thank you
@raflysh1725
@raflysh1725 2 года назад
I would like to vote you to be my Lecturer lol. impressive work ! you really tell us every single aspect that we need to know.
@ashleyrossgoingmerrily
@ashleyrossgoingmerrily 4 года назад
Thank you!!!! 7th time trying to set up my nav bar with just HTML and CSS. Finally one that works!
@FollowAndrew
@FollowAndrew 4 года назад
You're welcome!
@cfitt
@cfitt 4 года назад
Andrew! Thank you so much! Doing this with javascript has been killing me because I don't know javascript yet! LOL . Following your classes now and I find you so very easy to follow. Let me know if I can do anything to promote you! Chris
@FollowAndrew
@FollowAndrew 4 года назад
Thanks, maybe take out a billboard with 'followandrew' on it? :)
@ErnestSchloesser
@ErnestSchloesser 2 года назад
This is great! Very well explained. Got yourself a new subscriber.
@GilTrump
@GilTrump 4 года назад
hello there ty for nice tutorial, good pace and explanations. Looking forward to watch your other tutorials. Live with Passion!!!
@msbecks3806
@msbecks3806 3 года назад
I found this very resourceful and easy to follow. Thanks
@yunieskycg
@yunieskycg 3 года назад
I don't speak english but your tutorial is explained in a masterly way. thank you so much. i think you are the most professional person you find on youtobe and i think it is not right that you have so few followers. i think it is a product of the great ignorance these days .👍👍👍👍👍👍👍👍👍👍
@FollowAndrew
@FollowAndrew 3 года назад
Thank you! 😃
@quangle9049
@quangle9049 4 года назад
It is an excellent tutorial, very detailed step-by-step instructions, especially with explanation to understand what I am doing along with the video. In my opinion, the best way to learn is following the video with an ipad/tablet, and on the computer, use half of the screen is for Visual studio code with vertical split: one for html and and one for CSS, and the other half of the screen for the browser with live server. In this case, you can see which html element that your CSS coding is targeting for and how it reflects the result on the browser. Thank you so much Andrew for creating this video !
@FollowAndrew
@FollowAndrew 4 года назад
Two screens are the way to go!
@blitzgaming2771
@blitzgaming2771 Год назад
Wow this is Amazing! Very clear explanation, excellent for beginners like me. Thank you Sir!
@DeanForant
@DeanForant 3 года назад
Great video. I Used this to implement my own responsive menu on my site (still under development). One caveat, My web design uses a 3px padding around the body and I wanted the menu to be fixed at the top of the page. The problem with fixed positioning for the header was that when you use fixed positioning, the header width goes past the right padding specification of the body element that I had set. This is because the fixed property breaks the box flow of css. The solution I had found to remedy this was to use position:sticky. Unfortunately this property is not supported in IE (no big surprise there). Its not that big of a deal as Microsoft has all but abandoned their support for IE. in fact they are officially going to stop support for it in 2022 and a lot of big websites have already stopped supporting it.
@Anirog
@Anirog 3 года назад
Thanks this is a great tutorial, easy to follow and I like how you explain what's happening with the code.
@gatluakkuei3163
@gatluakkuei3163 2 года назад
Mr Andrew you are a great teacher, a learner really need to be treated as a learner, thank for the great explanation in details.
@FollowAndrew
@FollowAndrew 2 года назад
Thanks. It's a bit of a fine line when teaching to 'guide' without giving too much away and help with concepts that (to the teacher) seem obvious!
@bradahrensforcongress
@bradahrensforcongress 2 года назад
Finally, got it to work. Thank you so much!
@bennyo39
@bennyo39 2 года назад
Fantastic! Learned a lot and now have an amazing website template! Tysm!
@wymersmith8073
@wymersmith8073 3 года назад
Thanks, man. Love this
@doineedthat
@doineedthat 4 года назад
Hello Andrew thanks for this great HTML and CSS menu. cleared up a lot of issues
@FollowAndrew
@FollowAndrew 4 года назад
Glad to help!
@arunrawat3142
@arunrawat3142 3 года назад
Thank you so much, sir for explaining how the input checkbox trick works.
@lostende
@lostende 4 года назад
Great video. Well done Andrew.
@maikwolfram
@maikwolfram Год назад
Dear Andrew You can be sure that I learned something as your channel is my classroom for over a week now … Your tutorials are really absolutely great … it’s a joy to watch you explaining things in such a clear and structured way !!! !!! !!! Thank you so much … 🦜 ☺️ 🙏
@batchrocketproject4720
@batchrocketproject4720 Год назад
Very clear with really useful explanations. Thanks.
@FollowAndrew
@FollowAndrew Год назад
Glad you liked it
@ChillingChairCinema
@ChillingChairCinema 3 года назад
You Help a lot of people building there dreams and skill, Thank you for sharing your knowledge. keep it up 👍
@dcuztheone769
@dcuztheone769 3 года назад
amazing tutorial. I got much much more than before. thank you sir
@Kcoaco
@Kcoaco 2 года назад
You're a really good teacher. Thank you.
@wahabkazmi7486
@wahabkazmi7486 3 года назад
finally i got a person who actually rocks :D Thanks Buddy
@MariaEduarda-cx6jt
@MariaEduarda-cx6jt 2 года назад
thanks for the tutorial. It helped me a lot with my project!
@anthonyceponis2491
@anthonyceponis2491 3 года назад
Amazing tutorial! Very beginner friendly.
@janinduliyanaarachchi593
@janinduliyanaarachchi593 3 года назад
Thank you so much for this! Amazing and incredibly easy to follow even for a beginner like me :)
@anthoniabalogun
@anthoniabalogun Год назад
Fantastic tutorial!
@laurititus
@laurititus 2 года назад
It was great! Excellent!
@SonnyBurnett2012
@SonnyBurnett2012 3 года назад
Thank you! Another great (great also, because the time has passed and i didnt feel it) tutorial!
@FollowAndrew
@FollowAndrew 3 года назад
Happy to hear that!
@andy_frank
@andy_frank 2 года назад
Thank you, really. You are the absolute best
@charlesbonyo4640
@charlesbonyo4640 2 года назад
I have learnt something from this video. Thanks alot
@acharya1574
@acharya1574 3 года назад
I loved your tutorial,Sir
@markzait2750
@markzait2750 Год назад
Very nice video! Thanks!
@lucblouin2747
@lucblouin2747 4 года назад
Great tutorial, thank you very much!
@JeffJones72
@JeffJones72 3 года назад
Nice tutorial. Just what I was looking for. Spent too many years on the backend and middle tier that I have fallen behind on the UI code.
@doronmarom7193
@doronmarom7193 3 года назад
thank you very much! awesome tutorial, helped me a lot
@ihorv44
@ihorv44 3 года назад
a lot of thanks for such helpful video
@Sahil-yv9cn
@Sahil-yv9cn 3 года назад
For rotating the pseudo elements, you can use transform-origin instead of changing the positioning
@SYPCWAK
@SYPCWAK 4 года назад
Thanks! This was very helpful!
@dr_e-commerce
@dr_e-commerce 5 лет назад
Thank You for this video, it's very helpfull!
@2002budokan
@2002budokan 4 года назад
Great CSS lecture. I will try this trick (checkbox+siblings selector+media-query) removing ugly float and try to change flex-box direction instead.
@FollowAndrew
@FollowAndrew 4 года назад
All floats are beautiful and created equal! :). Check my pinned comment for a tutorial on doing a flex-box based nav.
@2002budokan
@2002budokan 4 года назад
@@FollowAndrew Yes, I realized later that there was also a flex version. I'm watching that video right now. Thank you for all these great lectures Andrew. As your name suggests, I follow you since a while. :)
@willischiller1511
@willischiller1511 4 года назад
Thanks for this tutorial, very interesting indeed.
@FirdavsiWebDev
@FirdavsiWebDev 4 года назад
Nice tutorial. Thank you!
@pradeepn7
@pradeepn7 4 года назад
Very Well Explained . Thanks.
@radyawser4963
@radyawser4963 4 года назад
Amazing man i really love it
@ianbennett992
@ianbennett992 4 года назад
Great tutorial, thank you very much.
@gmail8542
@gmail8542 4 года назад
amazing video, thanks man!
@sineadsthename
@sineadsthename 3 года назад
Great video!
@sparshnagpal1509
@sparshnagpal1509 3 года назад
Just what I needed 😭
@johnpelitidis6297
@johnpelitidis6297 3 года назад
Excellent, thank you.
@brittanitaylor4493
@brittanitaylor4493 3 года назад
This video helped me so much
@mdtechtamizha8813
@mdtechtamizha8813 3 года назад
Super great teaching man
@ashar_naveed
@ashar_naveed 3 года назад
Amazing work
@jacquedreyer5479
@jacquedreyer5479 5 лет назад
Fantastic video - I appreciate the way you explained your reasoning for approaching tasks a certain way (i.e. the checkbox and label state etc.). I do have a couple of questions to help me better understand: - Does the CSS selectors need to be written out in full i.e. would .menu-icon not give the same result as .header .menu-icon? - Was there a reason you chose not to use flexbox for the menu? Appreciate the video and the source files - very thoughtful and well done! Thanks
@FollowAndrew
@FollowAndrew 5 лет назад
No, the selector could just be .menu-icon. If you had multiple “menu icons” on a single page, then you’d want to nest the selectors in the parents to avoid overrides... No particular reason for not using flexbox.
@prajaktasathe6805
@prajaktasathe6805 4 года назад
A very helpful video indeed! Thank you so much. Though, I was wondering how we could add some content below the header element and make it move down when the hamburger menu is opened.
@alinademidova5137
@alinademidova5137 4 года назад
Thank you very much for this lesson!
@FollowAndrew
@FollowAndrew 4 года назад
You’re welcome Alina
@zbigniews497
@zbigniews497 5 лет назад
Thank you for all.
@HELIOSsanta
@HELIOSsanta 7 месяцев назад
Thank so much You did a great job
@BobCat981
@BobCat981 4 года назад
whenever someone makes any educational video explaining and teaching any skill and publishes it for free - i cant have anything but total respect for that person.
@santiagoyepescarrera9793
@santiagoyepescarrera9793 4 года назад
What a god, Perfect - Thanks!
@gokhanc.5250
@gokhanc.5250 5 лет назад
Thank you very much, perfect !
@naijacanact8153
@naijacanact8153 2 года назад
God bless you another mile stone crossed for me
@FollowAndrew
@FollowAndrew 2 года назад
Awesome, glad to hear it!
@thieutrong190
@thieutrong190 5 лет назад
Hello, I thank you. Your video is awesome. I hope to have more video tutorials. I'm from Vietnamese!!!!! Thank you very much!!!
@rogerschinkler6975
@rogerschinkler6975 3 года назад
Awesome video, easy to follow! Anyway to close menu after click if you have an anchor menu?
Далее
CSS Grid Tutorial | Responsive Crash Course
43:43
Просмотров 138 тыс.
Gặp 2 thánh troll | CHANG DORY | ometv
00:42
Просмотров 15 млн
Happy 4th of July 😂
00:12
Просмотров 6 млн
The problems with viewport units
13:23
Просмотров 355 тыс.
No JavaScript, No Hacks Hamburger Menu Interaction
7:06
Create a responsive navigation nav with no JS!
44:13
Просмотров 471 тыс.
Responsive Navbar Tutorial
13:35
Просмотров 501 тыс.
Pure CSS Hamburger Menu & Overlay
35:47
Просмотров 398 тыс.
Pure CSS tree view with custom tree icons
31:34
Просмотров 18 тыс.
Gặp 2 thánh troll | CHANG DORY | ometv
00:42
Просмотров 15 млн