10 Tailwind Tricks You NEED To Know!
Вставка
- Опубліковано 21 тра 2024
- I've been loving to use Tailwind to style my web projects.
This video is a list of the 10 main tips I really wish I knew earlier.
---------------------------------------------------------------
Inquiry and Collaborations:
contact@perfectbase.dev
---------------------------------------------------------------
Join my Discord:
/ discord
---------------------------------------------------------------
Follow me on twitter:
/ ravicoding
---------------------------------------------------------------
Chapters:
0:00 Introduction
0:12 1 - Peer and Group
1:07 2 - Animations
1:46 3 - Responsive Designs
3:00 4 - Intellisense in Variables
4:04 5 - Dynamic Utilities
5:22 6 - apply and theme
6:19 7 - Extend Tailwind
7:00 8 - Plugins
8:48 9 - Colors object
9:29 10 - tailwind-merge - Наука та технологія
These were one of the most valuable 10 minutes of my developer life!
Wow! Such comments make my day!
Thank you for watching!
Damn
The tricks are great, no doubt, but common man… I bet your developer life isn't that long 😂
The neon shadow and changing the whole look with one word??? I'm officially mind blown!
You are SO GREAT! I can't wait to try out each and every trick you just taught us!! Freaking awesome, Ravi 🤩🤩🤩
This is literally the best Tailwind CSS video I have ever seen! Thank you for your great efforts and keep going! ❤
I just started to use tailwind a few days ago and this gave me some great ideas to try out.
Than you so much! I was using Tailwind for so long and I never found out about many of these.
Video was concide and to the point! Plugin 8 caught me off guard, had to rewatch. You won a sub! Keep the videos coming!
I've used Tailwind for some time now, but haven't heard of most of this tricks. Really usefull content
Insightful video! I hope your channel grows to be huge 🙏🏽
I love it when tech UA-camrs also have their own startups! I also have a few projects of my own 😊
And the tips in this video were sick!
That group and peer hover thing was awesome!!
Can't believe it. The first tip in the video is something I was recently racking my brain to figure out and ultimately just solved with js. Thank you! 🙏
Glad it was useful!!
Very nice information. Your delivery of the content makes in more better. Looking forward for more software development area videos!Cheers!
amazing video, on a project using tailwind, this helped a lot., Thank you !! Looking forward to more such content.
A smooth editing and useful tips. Thank you so much!
Great video! I use Tailwind all the time but I've never really used custom plugins - the docs aren't great for them. A video or two on them would be great!
Do you guys recommend me to learn Tailwind? Does it carry the heavylifting of responsiveness, typography, colors & other design features?
@@theworldismine7788 it's important to realise that it's not like, say, Bootstrap, with many components built for you that you can "sort of" customise. It's a giant set of utility classes that helps you build your own designs very quickly, with a sensible sizing/spacing system and a useful colour palette. There ARE components available that use Tailwind (eg TailwindUI, DaisyUI, Flowbite) however. Overall I would say, yes, give it a whirl.
@theworldismine7788 yeah what the other guy said. Tailwind doesn't do anything for you (sort of). You're still writing css except in the form of utility classes over stylesheets.
me too, I’ve been using only the basic
WOW! This video is beyond my expectation 🤯 Thank you, you just got a new subscriber ❤
This was you've mentioned on plugins is just like WOW
I didn't know Tailwind had such an advanced feature, way more customizable than I thought it was
Very valuable tips. Many thanks for this gem of a video. Will be sharing with my team today.
Great video mate. The @apply is something I've never used but will in future!
this is actually so good, been using tailwind for 2 years, learned something new today !
The plugin feature with the neon shadow blew me away! Even intellisense is supported ... just like that! WOOOOW!!!
Wow, I'm impressed - especcialy this trick with the color shadows. Thank you.
Value to time ratio off the roof. Amazing video, saves a lot of time for person starting with tailwind like me.
Glad you liked the style! Will try to make more like this in the future!
That tailwind-merge is awesome, thanks for your video help me know that 😍
great video and tricks! Especially happy to know about the group class now! And grats on your channel! I just started one too :)
Great video! Fantastic edit! Well done!
One of the most useful videos about tailwind I ever saw ❤
Awesome and clear explanation, good job guys!
A really cool video! I'm a backend developer and generally dislike frontend development, but tailwind has made it more enjoyable for me. Can't wait to try out some of the more advanced tips from your vid!
damn bro. tysm. the custom plugins is so cool, thanks for sharing.
Nice tips. I am experienced tailwind user, but I didn't know about using variables to store tailwind classes.
That’s not a feature or something like that. You can write them in a comment as well
Loved it!! Thanks, will start using these asap!
Great tips! You really help unleash the power of Tailwind. Thanks. You got my sub.
This was great. Keep them coming!
Awesome tricks man! Thank for sharing and keep it up 🎉
thank you mate! probably the best youtube tech tutorial i have seen this year, some great tips here
Thanks for such a nice review!! 😊
Bro, beautify-made video! Absolutely love the content and your flow. Subscribed!
Thanks!! Glad you enjoyed! ☺️
The tips and design of the video were very, very great. thank you 🌹🌹🌹
Great Video! on the point and no BS. I love it! keep it up :)
This is awesome, I never knew tailwind is this powerful
Wonderful video!! Really enjoyed.
Absolutely lovely! I was not aware that we could name group/peer classes. It was something new. Also I would like to mention about a VSCode extension which I find useful, called as "Headwind" which sorts the classes enhancing the readablity. Thank you for the video! Subscribed✅
you can do that using the official tailwind prettier sorting plugin
@@elab4d140 Nice, that extension is also worth mentioning.
Thanks for sharing!
Yes! I use the prettier plugin as well. Learned it from the T3 stack.
Just discovered Tailwind, and my mind is blown, thanks for sharing
Bro, thank you. I didn't knew so much, have been using tailwindCSS for quite some time, thank you :)
This is the best Tailwind video I've ever watched. Thank you so much!
Wow, thank you!! 😊
Thank you, you really helped me.
Especially when you talk about mobile-first framework
I appreciate the content and concepts covered in this video.
Finally an advanced dev Video not these stuff that every one talks about. Love it.
i was just wondering how to do peer hover changes and this video showed up good thing i clicked on it, great video thanks for the help
Very useful content. Great visuals for the explanations.
solid video, all the examples were quick and concise
Thank you! These tips were incredibly helpful.
This is pure gold, i didn't knew any of this, but thanks to you im going to implement all of this into the react site i'm working on
Glad you liked it!!
Great video. Loved it. Keep doing more bro.
nice job with code + live output with black background.. didn’t have to worry of getting flashed with a bright white bg in between!!
Glad you liked it! Thanks for the feedback!
These are pretty cool tips and tricks 🔥
I didn't know tailwind even had this!Amazing 10 minutes of a developer life!
strongly recommend this video, thank you for sharing your knowledge
Luv this! Nice concise but not too long!
Good job man! Learned a lot.
Fantastic Videos bro!! Very Helpful and your dedication Towards your channel is just Awesome!!
I Learnt new things from this videos, Appriciated.
Love From INDIA
This was actually very detailed. I always wondered when I dynamic set the color such as by-{color}-200 and that never gets applied. Now I know why. lol. Thanks
Great video! Thanks for sharing! 🙏🏼
So so valuable, I'm saving and sharing this❤
I use tailwind for years and would consider myself an expert, but I still learned a few things! Thanks for the video!
Glad that it’s also helpful for experienced users!! 😊
Thanks for watching!
Dude, you're awesome! Thanks for blessing the web with your knowledge. Subbed and I'll check out your startup playlist :)
Wow! Thanks a lot for the kind words! Glad you liked it!!
Great tips, great graphics and great editing skills - I enjoyed this video 👏
Thank you for watching! 🙏
Super glad to hear that from a bigger content creator in the space!!
came here from SImon's tweet, really neat! subscribed
@@shanemshort 😎 I subscribed today too!
subcribed, amazing short, im going to look all your channel !
for #5 you could create a safe list when there are too many options. Safelists are defined using regex so it's pretty easy to include a whole range of classes.
You could also just use a CSS variable, which makes this work with tailwind, without any lists or regex.
Thanks for sharing! Wish I knew this before making the video!
But glad I can also learn from you guys!!
@@perfectbase i was going to mention this as well because i had a very similar situation in one of my codebases! but yeah you can define a class safe list in the tailwind config if you don’t want to define the classes in an unused variable. i’m only halfway through the video though and i’ve learned so many neat tricks! I had no idea about the variable name thing! i’m going to use that instead of really complex string interpolation logic in my components
This was just what I thought! Great video nontheless
@@perfectbase Come on now we know you did this to increase comments :)
For the point 'Dynamic Utilities' there are many solutions to do it with tailwind properly.
Solution 1 : you can define a safelist in tailwind config. These accepts wildcard and can easily cover the case you described with "bg-{color}-500"
Solution 2 (cleaner) : use cva or tailwindcva to define proper variants. It might be annoying and redundant to write some parts, but it allows you to handle many logics
And for the why : I would rather die than have a few part of my code that doesn't rely on my tailwind configuration. If you are working with theme, having one component with hex colors is a big issue.
These are great! I just started Tailwind
Really interesting tailwind tips! 🤩
halfway into the video and i liked it. Thanks Ravi!
ended the video..well i understood the first half, still new to tailwind maybe thats why.
Thank you for this video i really learned some useful stuff!
Very, very helpful. Thank you!
Thank you for sharing your knowledge.
I just want to say THANKS! Great video!
man when I clicked this video I thought would be bullshit tips like the most programmers youtubers do but this video actually has some very good and easy explanation from useful features
you really deserved this like and subscription! keep going
Thank you! 🙏☺️
thanks a lot, that second last tip was super usefull
Great video on Tailwind, thank you very much.
Bro this was the most beautiful, well explained and soo thorough tutorials that I've watched in a while. Truly loved the content ❤
The short explanation, illustration and the real life usage 🫂
Pressing all the buttons to watch more of such!!
Really liked the neon shadow
Awesome video, thank you! Glad youtube recommended it to me.
Really awesome. Great tutorial 😮
Nice video !! Keep making this!!!
Thanks Ravi - great Content and I learned alot
Great video! I really want to get started with Tailwind, and this was super interesting! One thing to note, your trick #9 would probably flow better if you switch it with #8, because #9 talks about the imports and the theme object, while #8 is a lot more advanced. Great video!
Thank you for watching! And for the feedback! I appreciate it. 😊
@@perfectbase you're welcome!
How this is the first I'm hearing of you... great video, got a sub from me!
in the dynamics variable section, I believe you can add the variable names to a safe list in the tailwind config file instead of creating an unused variable
Just found this video, and I'm glad I did... subscribed.
I love your video and style. Subscribed :)
hey this is an awesome video. love it. Liked it and subscribed ❤
Very useful. Thanks a lot 👍
Great content buddy 👏
Wow, really useful stuff, thanks!
great tips... amazing! congrats from Brazil!
Amazing video, even after working with tailwind for some time i learned new tricks.
Great to hear that!
Thanks for the feedback! 😊
Thanks! There are nteresing and not obvious tweaks :)
This content is a gold! Thank you so much :)