Responsive Side Navigation with Tailwind CSS and Alpine JS

  Рет қаралды 26,267

Thirus

Thirus

Күн бұрын

In this video, we use Tailwind CSS and Alpine JS to build a responsive side navigation that is fixed on larger screens, but collapsible on smaller screens.
Github Repository: github.com/Thi...
Subscribe and stay tuned for tips, tutorials and more.
Follow me on Twitter: / shrutibalasa
Follow Thirus on Twitter: / thirusofficial
Visit my website: www.shrutibala...
#tailwindcss #alpinejs #sidenav #responsive

Пікірлер: 81
@hectorbritodiaz9760
@hectorbritodiaz9760 Жыл бұрын
Tus videos, son los que siempre me ayudan. Gracias. TAILWIND RULES!!
@Thirus
@Thirus Жыл бұрын
I only understood “thank you” from your comment 😊 So you’re welcome!
@rezaanwar7851
@rezaanwar7851 Жыл бұрын
Great tutorial! Been putting off learning Tailwind until now. Thx! :)
@Thirus
@Thirus Жыл бұрын
Tailwind is a game changer!
@gaton313
@gaton313 2 жыл бұрын
Thanks for this tutorial. Looking forward to the full tutorial on Alpinejs 😍
@alexwakeup7098
@alexwakeup7098 2 жыл бұрын
Thanks to you my sidebar is working as expected! thank you for putting the repository on the description!
@Thirus
@Thirus 2 жыл бұрын
Very happy to know it helped 😊
@patlecat
@patlecat 3 жыл бұрын
Great tutorial, hope you will make more on tailwindcss and alpinejs in particular.
@Thirus
@Thirus 3 жыл бұрын
Made a few more. Hope you checked my other videos. Will make more too, thank you! 😊
@patlecat
@patlecat 3 жыл бұрын
@@Thirus Some, but I am specifically interested in those topics currently. Thanks again.
@mrprashant8144
@mrprashant8144 2 жыл бұрын
Great, i learned something new.... Subscribed
@Thirus
@Thirus 2 жыл бұрын
Nice, thank you
@sreekar_s
@sreekar_s 3 жыл бұрын
Great video as always 😊 Just a nitpick, it would be great if you don't disable outline for buttons as it causes accessibility issues. I know that this video's focused on design. I just wanted to put this out for other viewers to make a note of this. Thank you🙏
@Thirus
@Thirus 3 жыл бұрын
I removed outline but added background. But yes, you’re right
@lutzgerken9634
@lutzgerken9634 3 жыл бұрын
Thank you very much. Your tutorials are very good. More of that, please.
@Thirus
@Thirus 3 жыл бұрын
Sure, thank you 😊
@thamibn
@thamibn 3 жыл бұрын
Nice tutorial can you please do a video showing us how we can make the side bar and top header to be fixed wen scrolling
@J90JAM
@J90JAM 3 жыл бұрын
Your videos are always super helpful, keep them coming 👌
@Thirus
@Thirus 3 жыл бұрын
Sure, thank you 😊
@jamesbest2221
@jamesbest2221 2 жыл бұрын
Fantastic! This was so helpful, thank you!
@Thirus
@Thirus 2 жыл бұрын
Happy to hear that :)
@rohanshah7960
@rohanshah7960 3 жыл бұрын
This was really great, and explained very well, most importantly a simple tutorial. I didn't know about your KZbin channel until Brad Traversy mentioned about it on Twitter, since then I've watched many of your videos, and boy they are so good, yet underrated. You're a big reason why I learnt TailwindCSS in the first place. I just had a suggestion: Could you also include dark styles for dark mode in your tutorials? Anyways Thank You for this 🤩🤩
@Thirus
@Thirus 3 жыл бұрын
Wow! Thanks for the amazing words of appreciation 😊 I have a separate video for switching between dark and light mode. In my opinion, including it in every video will increase the duration and overwhelms the viewer with more concepts. But I’ll consider your feedback and try to include where it fits
@HeyNoah
@HeyNoah 3 жыл бұрын
Super cool! Great tutorial, thank you!
@Thirus
@Thirus 3 жыл бұрын
You’re welcome :)
@pratikkeni
@pratikkeni 3 жыл бұрын
That was really good. Also do you suggest learning React or WordPress in this current situation ?
@Thirus
@Thirus 3 жыл бұрын
They are two very different things, depends on your end goal. DM me on Twitter to talk further
@starlays9727
@starlays9727 2 жыл бұрын
Great! Thank you.
@Thirus
@Thirus 2 жыл бұрын
You’re welcome
@vivekpaliwar7217
@vivekpaliwar7217 2 жыл бұрын
this is what i need yay :)
@vivekpaliwar7217
@vivekpaliwar7217 2 жыл бұрын
Is it possible when the sidebar in mobile version then I click the sidebar item like about us and collapse sidebar .
@Bukratusi
@Bukratusi 3 жыл бұрын
when i add lg it works for only that screen size but not for all screen sized bigger than that. what to do?
@Thirus
@Thirus 3 жыл бұрын
That doesn’t happen. May be some other classes are affecting the behaviour
@stephenlau2845
@stephenlau2845 3 жыл бұрын
Excellence Tutorial, Thank You So Much....!
@Thirus
@Thirus 3 жыл бұрын
You’re welcome 😊
@gessegoncalves6493
@gessegoncalves6493 3 жыл бұрын
Great
@BilalSatellite
@BilalSatellite 2 жыл бұрын
Thanks
@Thirus
@Thirus 2 жыл бұрын
You’re welcome!
@rangabharath4253
@rangabharath4253 3 жыл бұрын
Awesome as always 👍😀
@Thirus
@Thirus 3 жыл бұрын
Thank you 😊
@hansdampf10
@hansdampf10 3 жыл бұрын
Great Tutorial. You have a typo in your thumbnail.
@Thirus
@Thirus 3 жыл бұрын
Oh right! Thanks for pointing out
@danangponorogo166
@danangponorogo166 3 жыл бұрын
Hi , this is a great tutorial , however it would be perfect if you were willing to add a tutorial on how to create smooth transition sub menu within your side navigation ..
@iamaakashbasnet
@iamaakashbasnet 3 жыл бұрын
Thanks for the tutorial! 😊
@Thirus
@Thirus 3 жыл бұрын
You're welcome 😊
@shashiupadhaya6703
@shashiupadhaya6703 2 жыл бұрын
I had problem my css is not working on live server. can you help me?
@Thirus
@Thirus 2 жыл бұрын
Sure. Send me a DM on Twitter @shrutibalasa with some more details.
@JohnCosly
@JohnCosly 3 жыл бұрын
Very helpful!
@Thirus
@Thirus 3 жыл бұрын
Glad it was helpful! :)
@juneddhanga3257
@juneddhanga3257 3 жыл бұрын
Great! But I've one question at this moment when you resize the browser window then sidebar style is quite disturbing so how could we avoid the same
@Thirus
@Thirus 3 жыл бұрын
You mean, on larger screens, you don’t want the sidebar to appear the way it is? Then just remove all the classes with prefix ‘lg:’ - you will have the same behaviour for all screen sizes then
@stephenlau2845
@stephenlau2845 3 жыл бұрын
Yes, How to build a carousel with 3 images and they play Automatically use Alpine.js ? Thanks again....
@Thirus
@Thirus 3 жыл бұрын
Will see if I can create a CodePen for this
@stephenlau2845
@stephenlau2845 3 жыл бұрын
@@Thirus Thank You Very Much....
@AmitDas-yb3re
@AmitDas-yb3re 3 жыл бұрын
Great video. Easy to follow. Subscribe. One question how to purge past used classes that are not used anymore?
@Thirus
@Thirus 3 жыл бұрын
Stop the current script and build again, the unused classes will be gone.
@AmitDas-yb3re
@AmitDas-yb3re 3 жыл бұрын
@@Thirus Thanks.
@PcHabitat
@PcHabitat 3 жыл бұрын
Hi, I was wondering, when the sidebar is open on smaller break points how can I make the rest of the screen dark like when opening a modal? I added a modal to this project you made, I think the z index may have messed up the lower portion of the side bar almost as if bleeded into the back ground so I added overflow-y-auto and that seemed to do the trick
@Thirus
@Thirus 3 жыл бұрын
Are you saying you found the solution?
@PcHabitat
@PcHabitat 3 жыл бұрын
@@Thirus Not really to be honest, unless I add overflow-y-auto it still bleeds into the rest of the content. I wish I could upload a screenshot
@Thirus
@Thirus 3 жыл бұрын
Could you DM on Twitter? twitter.com/shrutibalasa
@slayer5171
@slayer5171 2 жыл бұрын
How to set sidebar and navigation to fixed position but the content is scrollable?
@Thirus
@Thirus 2 жыл бұрын
Have you tried adding overflow-y: scroll to the sidebar? DM me on Twitter @shrutibalasa if you need more help
@shayakdey6787
@shayakdey6787 3 жыл бұрын
Please make a video how to use tailwind css with sass..... I've been trying this for months....
@kirantpatil123
@kirantpatil123 3 жыл бұрын
Hi, Do you have an rails example with alpinejs ?
@Thirus
@Thirus 3 жыл бұрын
Sorry, I don’t use Rails
@adisakjantrasopark7672
@adisakjantrasopark7672 3 жыл бұрын
thank you so much :)
@Thirus
@Thirus 3 жыл бұрын
You’re welcome!
@nirmalthomas8838
@nirmalthomas8838 3 жыл бұрын
there is error when i apply npm run dev
@Thirus
@Thirus 3 жыл бұрын
What exactly is the error? DM me on Twitter if needed
@neerajsinghtangariya2587
@neerajsinghtangariya2587 3 жыл бұрын
Yes alpine is great for such these thing... that's the reason i ❤️ alpine... Ma'am i have one doubt...what does translate...and uses of this...?
@Thirus
@Thirus 3 жыл бұрын
Uses of translate is it? It is a CSS property used to move elements in x or y direction - mainly used for such animations
@mukuljain8383
@mukuljain8383 3 жыл бұрын
Make a video on how to install tailwind/jit with create react app please
@Thirus
@Thirus 3 жыл бұрын
Follow the same steps here - kzbin.info/www/bejne/nafOn3SkisypacU And then, in the tailwind.config.js, add this line before "purge" option mode: 'jit',
@mukuljain8383
@mukuljain8383 3 жыл бұрын
@@Thirus thank you you are the best ❤️
@shocchosolutions6275
@shocchosolutions6275 3 жыл бұрын
Explain alpine store
@robotprogrammer2902
@robotprogrammer2902 3 жыл бұрын
:)
@robotprogrammer2902
@robotprogrammer2902 3 жыл бұрын
:(
Lightweight CSS Animations on Scroll using Alpine JS
24:06
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 11 МЛН
小丑在游泳池做什么#short #angel #clown
00:13
Super Beauty team
Рет қаралды 43 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 10 МЛН
Complete CSS Grid Tutorial using Tailwind CSS
46:41
Thirus
Рет қаралды 40 М.
Complete CSS Flexbox Tutorial using Tailwind CSS
38:17
Thirus
Рет қаралды 39 М.
Top 10 Tips and Tricks with Tailwind CSS
23:45
developedbyed
Рет қаралды 89 М.
Theming Tailwind with CSS Variables
27:24
Tailwind Labs
Рет қаралды 125 М.
Translating a Custom Design System to Tailwind CSS
10:10
Tailwind Labs
Рет қаралды 121 М.
Django and Alpine.js - Introduction to Alpine.js
20:26
BugBytes
Рет қаралды 10 М.
Styling Forms with Tailwind CSS
17:25
Tailwind Labs
Рет қаралды 141 М.
Getting Started with Alpine.js
15:09
DigitalOcean
Рет қаралды 7 М.
Building Tailwind CSS Navbars - Responsive Too!
27:21
DigitalOcean
Рет қаралды 49 М.
Install Tailwind CSS v3 - CDN vs CLI vs PostCSS
34:19
Thirus
Рет қаралды 31 М.
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 11 МЛН