How to make a responsive sidebar with tailwind css | tailwind css tutorial
HTML-код
- Опубликовано: 4 янв 2022
- How to make a responsive sidebar with tailwind css | tailwind css tutorial
Code A Program...
GitHub link :
github.com/Sridhar-C-25/tailw...
tailwind css only Responsive navbar :
• How to make a responsi...
Toggle Switch with tailwind css :
• How to make a toggle s...
Ecommerce card design - tailwind css :
• design with tailwind c...
Pagination with React js and tailwind :
• React js and tailwind ...
Responsive website using React js and tailwind css :
• Responsive website usi...
Responsive navbar with vue js and tailwind css :
• How to make a responsi...
Responsive sidebar with tailwind css :
• How to make a responsi...
Cool Table design with tailwind css :
• How to make a table de...
Bootstrap Icons :
icons.getbootstrap.com/
Thank you for this, it came in time!
if anyone have problems with the function open() in the sidebar just change it to another name like 'openSidebar()', sometimes it get confused with a built in function called open() which result in having a blank page.
This is amazing, best tutorial~!!! A+
Loved the video! Very helpful stuff, You got a new subscriber - Thanks for sharing!
Thank you 😀😀
But how is it responsive if it doesn't hide itself automatically on small screens? Moreover you haven't used any tailwind directives for responsive design like sm: md: lg: etc. I was hoping if it was possible to make a responsive sidebar purely with tailwind and no javascript.
Thank you . I learned something new from you.
Welcome 😀
Thanks for this tutorial, bro.. This is very good, it can be useful for the project that I will make.. Thanks again bro.
Welcome
@@CodeAProgramBro, so that the sidebar when it appears there is an entry transition how yes, if we use tailwind. If there is no transition of entry is not good, sob
We can do transition using tailwind but in this video i didn't used. If you are in need try yourself, you can.
Great tutorial man!
Thanks!
I have problem
document.querySelector('.sidebar').classList.toggle('left-[-300]');
when I click it can't show/hide but it looks blank white instead
thankYou
thanks for this tutorial ... very helpfull
Your welcome
such a good video bro Allah bless you💓💓💓
😊😊😊
thanks for the tutorial
Share and subscribe ❤️
is next page b mobile responsive bna dyty bro .... good video
Hello, thank you very much for this video, i have a header in a website and when i implemented this responsive sidebar, this sidebar eats part of my header, it is like this sidebar is h-full, is there any solution for this?
Sorry, I can't fully understand what you say , but you can try this👇
Change your header position fixed
@@CodeAProgram what i wanted to say it is that your sidebar is fully vertical and when i implemented a navbar, this sidebar removes part of my navbar, thank you very much anyways, excellent example
@@omareliotorrescastillo4808 , yes sidebar is positioned fixed which takes takes it out of the normal document flow that's why other content (like navbar) behave as if there's no sidebar, you can change top-0 to top-[h] where h is the navbar height, to get the behaviour you desire, happy coding :)
Where SEO?
could really do without that awful music
Thank you for your suggestion, I will work on it.
Actually, I loved the music! Each to his own I guess. But seriously, you can just turn the music off if it bothers you.
That's your own perspective, the music is not awful at all...
Realize this is an old comment but wanted to voice in support of the music. For me, it's easier to concentrate when there is music without lyrics, rather than nothing (which would make me question if my audio was working properly) or someone speaking while they are coding. Appreciate this approach as it focuses on what's being written. The toggle build with tailwind vid was really helpful and in part, it was to the music being engaging, yet not distracting. This format is not found common, as it's usually someone narrating what they are coding.
It's so weird to feel the need to dump on someone putting FREE helpful content online. Spread good vibes, the world is awful enough. Not all opinions need sharing, especially when they are just personal preference being used to put someone down. Particularly preferences which are easily adjustable on this platform for the user. Not everyone learns in the same environment. I'm glad the music option is there, just as easily as the mute option is available to use.
Unregistered sublime. Based