10 Tailwind Tricks You NEED To Know!

  Рет қаралды 260,480

Ravi - Perfect Base

Ravi - Perfect Base

Күн бұрын

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

Пікірлер: 434
@valyy151
@valyy151 11 ай бұрын
These were one of the most valuable 10 minutes of my developer life!
@perfectbase
@perfectbase 11 ай бұрын
Wow! Such comments make my day! Thank you for watching!
@BarDots315
@BarDots315 10 ай бұрын
Damn
@basedovi
@basedovi 6 ай бұрын
The tricks are great, no doubt, but common man… I bet your developer life isn't that long 😂
@jaideepshekhar4621
@jaideepshekhar4621 11 ай бұрын
The neon shadow and changing the whole look with one word??? I'm officially mind blown!
@brunobrasil3419
@brunobrasil3419 8 күн бұрын
You are SO GREAT! I can't wait to try out each and every trick you just taught us!! Freaking awesome, Ravi 🤩🤩🤩
@nilsrothe
@nilsrothe 10 ай бұрын
I just started to use tailwind a few days ago and this gave me some great ideas to try out.
@chainsburg
@chainsburg 11 ай бұрын
Than you so much! I was using Tailwind for so long and I never found out about many of these.
@lil_peepka
@lil_peepka 11 ай бұрын
I've used Tailwind for some time now, but haven't heard of most of this tricks. Really usefull content
@user-vp8id1ze4x
@user-vp8id1ze4x 4 ай бұрын
Video was concide and to the point! Plugin 8 caught me off guard, had to rewatch. You won a sub! Keep the videos coming!
@magedibrahim1405
@magedibrahim1405 10 ай бұрын
This is literally the best Tailwind CSS video I have ever seen! Thank you for your great efforts and keep going! ❤
@dharmilshinde797
@dharmilshinde797 10 ай бұрын
That group and peer hover thing was awesome!!
@licokr
@licokr 11 ай бұрын
A smooth editing and useful tips. Thank you so much!
@MmmMmmGood17
@MmmMmmGood17 10 ай бұрын
Insightful video! I hope your channel grows to be huge 🙏🏽
@shobhitumrao
@shobhitumrao 11 ай бұрын
amazing video, on a project using tailwind, this helped a lot., Thank you !! Looking forward to more such content.
@codinginflow
@codinginflow 9 ай бұрын
I love it when tech KZfaqrs also have their own startups! I also have a few projects of my own 😊 And the tips in this video were sick!
@giffarialfarizy7310
@giffarialfarizy7310 4 ай бұрын
WOW! This video is beyond my expectation 🤯 Thank you, you just got a new subscriber ❤
@kushaljain2206
@kushaljain2206 5 ай бұрын
Very nice information. Your delivery of the content makes in more better. Looking forward for more software development area videos!Cheers!
@stonedizzleful
@stonedizzleful 11 ай бұрын
Great video mate. The @apply is something I've never used but will in future!
@keshavakumar9828
@keshavakumar9828 10 ай бұрын
this is actually so good, been using tailwind for 2 years, learned something new today !
@andreaskarz
@andreaskarz 8 ай бұрын
Wow, I'm impressed - especcialy this trick with the color shadows. Thank you.
@lundell_music
@lundell_music 7 ай бұрын
Very valuable tips. Many thanks for this gem of a video. Will be sharing with my team today.
@FlorinPop
@FlorinPop 11 ай бұрын
Great video! Fantastic edit! Well done!
@_duongductrong
@_duongductrong 10 ай бұрын
That tailwind-merge is awesome, thanks for your video help me know that 😍
@buituyen9484
@buituyen9484 11 ай бұрын
damn bro. tysm. the custom plugins is so cool, thanks for sharing.
@yuritavares1916
@yuritavares1916 10 ай бұрын
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
@ajudmeister
@ajudmeister 10 ай бұрын
great video and tricks! Especially happy to know about the group class now! And grats on your channel! I just started one too :)
@frk_91
@frk_91 2 ай бұрын
One of the most useful videos about tailwind I ever saw ❤
@dr.d3600
@dr.d3600 10 ай бұрын
Awesome and clear explanation, good job guys!
@RobertWildling
@RobertWildling 7 ай бұрын
The plugin feature with the neon shadow blew me away! Even intellisense is supported ... just like that! WOOOOW!!!
@ai_for_good
@ai_for_good 11 ай бұрын
Loved it!! Thanks, will start using these asap!
@vOnez212
@vOnez212 9 ай бұрын
This was great. Keep them coming!
@bn5055
@bn5055 11 ай бұрын
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!
@theworldismine7788
@theworldismine7788 11 ай бұрын
Do you guys recommend me to learn Tailwind? Does it carry the heavylifting of responsiveness, typography, colors & other design features?
@bn5055
@bn5055 11 ай бұрын
@@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.
@ExileEditing
@ExileEditing 11 ай бұрын
​@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.
@lucasduarte7558
@lucasduarte7558 11 ай бұрын
me too, I’ve been using only the basic
@nicholasbicholas
@nicholasbicholas 9 ай бұрын
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! 🙏
@perfectbase
@perfectbase 9 ай бұрын
Glad it was useful!!
@HoyosJuan
@HoyosJuan 11 ай бұрын
Wonderful video!! Really enjoyed.
@RegisZaleman
@RegisZaleman 10 ай бұрын
Great tips! You really help unleash the power of Tailwind. Thanks. You got my sub.
@kryptons-galaxy
@kryptons-galaxy Ай бұрын
This is awesome, I never knew tailwind is this powerful
@nhantiny1642
@nhantiny1642 7 ай бұрын
Awesome tricks man! Thank for sharing and keep it up 🎉
@zillboy
@zillboy 11 ай бұрын
Bro, thank you. I didn't knew so much, have been using tailwindCSS for quite some time, thank you :)
@CreiwryJay
@CreiwryJay 4 ай бұрын
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!
@Theruyenable
@Theruyenable 11 ай бұрын
Value to time ratio off the roof. Amazing video, saves a lot of time for person starting with tailwind like me.
@perfectbase
@perfectbase 11 ай бұрын
Glad you liked the style! Will try to make more like this in the future!
@art_ik
@art_ik 11 ай бұрын
Great Video! on the point and no BS. I love it! keep it up :)
@gwemula
@gwemula 9 ай бұрын
Bro, beautify-made video! Absolutely love the content and your flow. Subscribed!
@perfectbase
@perfectbase 9 ай бұрын
Thanks!! Glad you enjoyed! ☺️
@alanshabrandi1678
@alanshabrandi1678 8 ай бұрын
The tips and design of the video were very, very great. thank you 🌹🌹🌹
@jesse9999999
@jesse9999999 11 ай бұрын
thank you mate! probably the best youtube tech tutorial i have seen this year, some great tips here
@perfectbase
@perfectbase 11 ай бұрын
Thanks for such a nice review!! 😊
@timmcneill5299
@timmcneill5299 8 ай бұрын
Just discovered Tailwind, and my mind is blown, thanks for sharing
@nikhilev3840
@nikhilev3840 10 ай бұрын
Great video. Loved it. Keep doing more bro.
@dustsucker4704
@dustsucker4704 10 ай бұрын
Finally an advanced dev Video not these stuff that every one talks about. Love it.
@0xAndy
@0xAndy 11 ай бұрын
This is the best Tailwind video I've ever watched. Thank you so much!
@perfectbase
@perfectbase 11 ай бұрын
Wow, thank you!! 😊
@tedmcfadden1063
@tedmcfadden1063 11 ай бұрын
Very useful content. Great visuals for the explanations.
@ahmadwahyudi3794
@ahmadwahyudi3794 9 ай бұрын
Thank you, you really helped me. Especially when you talk about mobile-first framework
@Allformyequine
@Allformyequine 10 ай бұрын
Luv this! Nice concise but not too long!
@khethelogp
@khethelogp 11 ай бұрын
These are pretty cool tips and tricks 🔥
@harshitmishra3843
@harshitmishra3843 6 ай бұрын
I appreciate the content and concepts covered in this video.
@bryanodinadev
@bryanodinadev 6 ай бұрын
These are great! I just started Tailwind
@ns-gabrielmendoza1329
@ns-gabrielmendoza1329 9 ай бұрын
I didn't know tailwind even had this!Amazing 10 minutes of a developer life!
@draxeris
@draxeris 11 ай бұрын
Good job man! Learned a lot.
@RishabhxShukla
@RishabhxShukla 3 ай бұрын
Thank you! These tips were incredibly helpful.
@lucasduarte7558
@lucasduarte7558 11 ай бұрын
strongly recommend this video, thank you for sharing your knowledge
@cashmoneyz3
@cashmoneyz3 10 ай бұрын
solid video, all the examples were quick and concise
@appstuff6565
@appstuff6565 6 ай бұрын
halfway into the video and i liked it. Thanks Ravi!
@appstuff6565
@appstuff6565 6 ай бұрын
ended the video..well i understood the first half, still new to tailwind maybe thats why.
@Q__Q
@Q__Q 11 ай бұрын
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
@HeyNoah
@HeyNoah 11 ай бұрын
Great video! Thanks for sharing! 🙏🏼
@PedroHenriquedosSantos
@PedroHenriquedosSantos 2 ай бұрын
Thank you for sharing your knowledge.
@crim-son
@crim-son 10 ай бұрын
So so valuable, I'm saving and sharing this❤
@sathishkannan6600
@sathishkannan6600 11 ай бұрын
Nice tips. I am experienced tailwind user, but I didn't know about using variables to store tailwind classes.
@suntrop
@suntrop 9 ай бұрын
That’s not a feature or something like that. You can write them in a comment as well
@nisargjaiswal4264
@nisargjaiswal4264 11 ай бұрын
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
@m3coo
@m3coo 11 ай бұрын
Very, very helpful. Thank you!
@chatwithnayem
@chatwithnayem Ай бұрын
Really awesome. Great tutorial 😮
@abdulmuminyqn
@abdulmuminyqn 11 ай бұрын
Really interesting tailwind tips! 🤩
@poptaim7631
@poptaim7631 10 ай бұрын
I just want to say THANKS! Great video!
@elwoseopenstepcrew1134
@elwoseopenstepcrew1134 6 ай бұрын
subcribed, amazing short, im going to look all your channel !
@meriem6099
@meriem6099 11 ай бұрын
Thank you for this video i really learned some useful stuff!
@yanarlexvallejorosas
@yanarlexvallejorosas 10 ай бұрын
Great video on Tailwind, thank you very much.
@bhargav1811
@bhargav1811 11 ай бұрын
Nice video !! Keep making this!!!
@DavidWTube
@DavidWTube 10 ай бұрын
How this is the first I'm hearing of you... great video, got a sub from me!
@aurorasofie
@aurorasofie 10 ай бұрын
Awesome video, thank you! Glad youtube recommended it to me.
@ozzyfromspace
@ozzyfromspace 11 ай бұрын
Dude, you're awesome! Thanks for blessing the web with your knowledge. Subbed and I'll check out your startup playlist :)
@perfectbase
@perfectbase 11 ай бұрын
Wow! Thanks a lot for the kind words! Glad you liked it!!
@learner8084
@learner8084 Ай бұрын
Just found this video, and I'm glad I did... subscribed.
@thepolygotcoder
@thepolygotcoder 6 ай бұрын
Thanks Ravi - great Content and I learned alot
@nikhil182
@nikhil182 11 ай бұрын
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✅
@elab4d140
@elab4d140 11 ай бұрын
you can do that using the official tailwind prettier sorting plugin
@nikhil182
@nikhil182 11 ай бұрын
@@elab4d140 Nice, that extension is also worth mentioning.
@perfectbase
@perfectbase 11 ай бұрын
Thanks for sharing! Yes! I use the prettier plugin as well. Learned it from the T3 stack.
@here2code
@here2code 10 ай бұрын
Great content buddy 👏
@mehmatrix
@mehmatrix 10 ай бұрын
I love your video and style. Subscribed :)
@nedjed4811
@nedjed4811 10 ай бұрын
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.
@jaitjacob
@jaitjacob 10 ай бұрын
nice job with code + live output with black background.. didn’t have to worry of getting flashed with a bright white bg in between!!
@perfectbase
@perfectbase 10 ай бұрын
Glad you liked it! Thanks for the feedback!
@pcv-free-as-a-bird
@pcv-free-as-a-bird 10 ай бұрын
Really liked the neon shadow
@saifullahrahman
@saifullahrahman 10 ай бұрын
thanks a lot, that second last tip was super usefull
@TrackingAcademy
@TrackingAcademy 7 ай бұрын
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
@krishnendudakshi3452
@krishnendudakshi3452 10 ай бұрын
hey this is an awesome video. love it. Liked it and subscribed ❤
@jugibur2117
@jugibur2117 11 ай бұрын
Wow, really useful stuff, thanks!
@FSRezende
@FSRezende 11 ай бұрын
great tips... amazing! congrats from Brazil!
@gillesa290
@gillesa290 11 ай бұрын
Very useful. Thanks a lot 👍
@kevinka99
@kevinka99 6 ай бұрын
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
@perfectbase
@perfectbase 6 ай бұрын
Thank you! 🙏☺️
@simonswiss
@simonswiss 11 ай бұрын
Great tips, great graphics and great editing skills - I enjoyed this video 👏
@perfectbase
@perfectbase 11 ай бұрын
Thank you for watching! 🙏 Super glad to hear that from a bigger content creator in the space!!
@shanemshort
@shanemshort 11 ай бұрын
came here from SImon's tweet, really neat! subscribed
@simonswiss
@simonswiss 11 ай бұрын
@@shanemshort 😎 I subscribed today too!
@wadecodez
@wadecodez 11 ай бұрын
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.
@chris-pee
@chris-pee 11 ай бұрын
You could also just use a CSS variable, which makes this work with tailwind, without any lists or regex.
@perfectbase
@perfectbase 11 ай бұрын
Thanks for sharing! Wish I knew this before making the video! But glad I can also learn from you guys!!
@MerkieAE
@MerkieAE 11 ай бұрын
@@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
@FinnReinhardt-gc9vn
@FinnReinhardt-gc9vn 10 ай бұрын
This was just what I thought! Great video nontheless
@enversecilmis7627
@enversecilmis7627 9 ай бұрын
@@perfectbase Come on now we know you did this to increase comments :)
@MyCodingDiarie
@MyCodingDiarie 11 ай бұрын
new subscriber 🖐! love your teaching style i learned a lot!
@perfectbase
@perfectbase 11 ай бұрын
Thanks for subscribing!!! 🙏
@JoseJavierEspinoza
@JoseJavierEspinoza 11 ай бұрын
that was a really great video! ty!
@Svetoz
@Svetoz 2 ай бұрын
Thanks! There are nteresing and not obvious tweaks :)
@fvbixn
@fvbixn 10 ай бұрын
I use tailwind for years and would consider myself an expert, but I still learned a few things! Thanks for the video!
@perfectbase
@perfectbase 10 ай бұрын
Glad that it’s also helpful for experienced users!! 😊 Thanks for watching!
@maxwebstudio
@maxwebstudio 10 ай бұрын
Nice animations and editing !
@codingmickey
@codingmickey 6 ай бұрын
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!!
@trontrontrontron4
@trontrontrontron4 2 ай бұрын
thank you for this video. actually helpful.
@wingmann3632
@wingmann3632 3 күн бұрын
great video! good luck
10 Tailwind Classes I Wish I Knew Earlier
13:31
Web Dev Simplified
Рет қаралды 154 М.
Tailwind CSS Tutorial for Beginners (2023) - What YOU need to know
22:10
Lukas | Web Development & Design
Рет қаралды 88 М.
SHE WANTED CHIPS, BUT SHE GOT CARROTS 🤣🥕
00:19
OKUNJATA
Рет қаралды 12 МЛН
Como ela fez isso? 😲
00:12
Los Wagners
Рет қаралды 13 МЛН
Последний Закат Кота Макса...
00:21
Глеб Рандалайнен
Рет қаралды 5 МЛН
ШЕЛБИЛАР | bayGUYS
24:45
bayGUYS
Рет қаралды 685 М.
6 UI Hacks I Wish I Knew As A Beginner
11:11
Tim Gabe
Рет қаралды 704 М.
How the PROS Use Tailwind
9:55
Frontend FYI
Рет қаралды 41 М.
🔥 Bento Grid Layouts with Tailwind CSS | Easy 🤯
11:13
Sashank Gl
Рет қаралды 3,7 М.
Incredible scroll-based animations with CSS-only
32:23
Kevin Powell
Рет қаралды 334 М.
I WISH I Knew These Tailwind Tips Earlier
9:15
Theo - t3․gg
Рет қаралды 164 М.
cn() - Every Tailwind Coder Needs It (clsx + twMerge)
7:46
ByteGrad
Рет қаралды 111 М.
Subtle, yet Beautiful Scroll Animations
5:04
Beyond Fireship
Рет қаралды 1,5 МЛН
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 336 М.
Top 10 CSS Features You Should Know & Use in 2023
19:56
Lukas | Web Development & Design
Рет қаралды 304 М.
Чем отличается OLED от AMOLED?
0:43
Не шарю!
Рет қаралды 252 М.
Xiaomi Note 13 Pro по безумной цене в России
0:43
Простые Технологии
Рет қаралды 1,8 МЛН
Girl camera photo Editing 3d with adobe Photoshop /9/33/Am
0:43
Amir TECh
Рет қаралды 252 М.
Обманет ли МЕНЯ компьютерный мастер?
20:48
Харчевников
Рет қаралды 178 М.