10 Tailwind Tricks You NEED To Know!

Поделиться
HTML-код
  • Опубликовано: 28 май 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
  • НаукаНаука

Комментарии • 436

  • @valyy151
    @valyy151 11 месяцев назад +219

    These were one of the most valuable 10 minutes of my developer life!

    • @perfectbase
      @perfectbase  11 месяцев назад +17

      Wow! Such comments make my day!
      Thank you for watching!

    • @BarDots315
      @BarDots315 11 месяцев назад +2

      Damn

    • @basedovi
      @basedovi 6 месяцев назад +1

      The tricks are great, no doubt, but common man… I bet your developer life isn't that long 😂

  • @jaideepshekhar4621
    @jaideepshekhar4621 11 месяцев назад +23

    The neon shadow and changing the whole look with one word??? I'm officially mind blown!

  • @bn5055
    @bn5055 11 месяцев назад +52

    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 месяцев назад +1

      Do you guys recommend me to learn Tailwind? Does it carry the heavylifting of responsiveness, typography, colors & other design features?

    • @bn5055
      @bn5055 11 месяцев назад +4

      @@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 месяцев назад +1

      ​@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 месяцев назад +1

      me too, I’ve been using only the basic

  • @nilsrothe
    @nilsrothe 10 месяцев назад +1

    I just started to use tailwind a few days ago and this gave me some great ideas to try out.

  • @chainsburg
    @chainsburg 11 месяцев назад +2

    Than you so much! I was using Tailwind for so long and I never found out about many of these.

  • @licokr
    @licokr 11 месяцев назад +1

    A smooth editing and useful tips. Thank you so much!

  • @lil_peepka
    @lil_peepka 11 месяцев назад +1

    I've used Tailwind for some time now, but haven't heard of most of this tricks. Really usefull content

  • @brunobrasil3419
    @brunobrasil3419 13 дней назад

    You are SO GREAT! I can't wait to try out each and every trick you just taught us!! Freaking awesome, Ravi 🤩🤩🤩

  • @shobhitumrao
    @shobhitumrao 11 месяцев назад +2

    amazing video, on a project using tailwind, this helped a lot., Thank you !! Looking forward to more such content.

  • @MmmMmmGood17
    @MmmMmmGood17 10 месяцев назад

    Insightful video! I hope your channel grows to be huge 🙏🏽

  • @magedibrahim1405
    @magedibrahim1405 11 месяцев назад +11

    This is literally the best Tailwind CSS video I have ever seen! Thank you for your great efforts and keep going! ❤

  • @ai_for_good
    @ai_for_good 11 месяцев назад +1

    Loved it!! Thanks, will start using these asap!

  • @MyUbuntuVids
    @MyUbuntuVids 4 дня назад

    I'm pretty much brand new to Tailwind CSS. I've gained a lot of insight on Tailwind CSS from your 10 tips. Thank you! (Subscribed)

  • @dharmilshinde797
    @dharmilshinde797 10 месяцев назад

    That group and peer hover thing was awesome!!

  • @keshavakumar9828
    @keshavakumar9828 10 месяцев назад

    this is actually so good, been using tailwind for 2 years, learned something new today !

  • @lundell_music
    @lundell_music 7 месяцев назад

    Very valuable tips. Many thanks for this gem of a video. Will be sharing with my team today.

  • @dr.d3600
    @dr.d3600 10 месяцев назад

    Awesome and clear explanation, good job guys!

  • @buituyen9484
    @buituyen9484 11 месяцев назад

    damn bro. tysm. the custom plugins is so cool, thanks for sharing.

  • @codinginflow
    @codinginflow 10 месяцев назад

    I love it when tech RUclipsrs also have their own startups! I also have a few projects of my own 😊
    And the tips in this video were sick!

  • @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!

  • @andreaskarz
    @andreaskarz 9 месяцев назад

    Wow, I'm impressed - especcialy this trick with the color shadows. Thank you.

  • @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! 🙏

  • @stonedizzleful
    @stonedizzleful 11 месяцев назад +1

    Great video mate. The @apply is something I've never used but will in future!

  • @kushaljain2206
    @kushaljain2206 5 месяцев назад

    Very nice information. Your delivery of the content makes in more better. Looking forward for more software development area videos!Cheers!

  • @_duongductrong
    @_duongductrong 10 месяцев назад

    That tailwind-merge is awesome, thanks for your video help me know that 😍

  • @frk_91
    @frk_91 2 месяца назад

    One of the most useful videos about tailwind I ever saw ❤

  • @FlorinPop
    @FlorinPop 11 месяцев назад +1

    Great video! Fantastic edit! Well done!

  • @nhantiny1642
    @nhantiny1642 7 месяцев назад

    Awesome tricks man! Thank for sharing and keep it up 🎉

  • @HoyosJuan
    @HoyosJuan 11 месяцев назад +1

    Wonderful video!! Really enjoyed.

  • @giffarialfarizy7310
    @giffarialfarizy7310 4 месяца назад

    WOW! This video is beyond my expectation 🤯 Thank you, you just got a new subscriber ❤

  • @kryptons-galaxy
    @kryptons-galaxy 2 месяца назад

    This is awesome, I never knew tailwind is this powerful

  • @PedroHenriquedosSantos
    @PedroHenriquedosSantos 2 месяца назад

    Thank you for sharing your knowledge.

  • @Theruyenable
    @Theruyenable 11 месяцев назад +5

    Value to time ratio off the roof. Amazing video, saves a lot of time for person starting with tailwind like me.

    • @perfectbase
      @perfectbase  11 месяцев назад +2

      Glad you liked the style! Will try to make more like this in the future!

  • @RishabhxShukla
    @RishabhxShukla 3 месяца назад

    Thank you! These tips were incredibly helpful.

  • @tedmcfadden1063
    @tedmcfadden1063 11 месяцев назад

    Very useful content. Great visuals for the explanations.

  • @Allformyequine
    @Allformyequine 11 месяцев назад

    Luv this! Nice concise but not too long!

  • @harshitmishra3843
    @harshitmishra3843 6 месяцев назад

    I appreciate the content and concepts covered in this video.

  • @HeyNoah
    @HeyNoah 11 месяцев назад +1

    Great video! Thanks for sharing! 🙏🏼

  • @crim-son
    @crim-son 11 месяцев назад

    So so valuable, I'm saving and sharing this❤

  • @RegisZaleman
    @RegisZaleman 10 месяцев назад

    Great tips! You really help unleash the power of Tailwind. Thanks. You got my sub.

  • @vOnez212
    @vOnez212 9 месяцев назад +1

    This was great. Keep them coming!

  • @m3coo
    @m3coo 11 месяцев назад +1

    Very, very helpful. Thank you!

  • @jesse9999999
    @jesse9999999 11 месяцев назад +1

    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!! 😊

  • @alanshabrandi1678
    @alanshabrandi1678 8 месяцев назад

    The tips and design of the video were very, very great. thank you 🌹🌹🌹

  • @meriem6099
    @meriem6099 11 месяцев назад +1

    Thank you for this video i really learned some useful stuff!

  • @sathishkannan6600
    @sathishkannan6600 11 месяцев назад +3

    Nice tips. I am experienced tailwind user, but I didn't know about using variables to store tailwind classes.

    • @suntrop
      @suntrop 10 месяцев назад

      That’s not a feature or something like that. You can write them in a comment as well

  • @lucasduarte7558
    @lucasduarte7558 11 месяцев назад +1

    strongly recommend this video, thank you for sharing your knowledge

  • @dustsucker4704
    @dustsucker4704 10 месяцев назад

    Finally an advanced dev Video not these stuff that every one talks about. Love it.

  • @bryanodinadev
    @bryanodinadev 6 месяцев назад

    These are great! I just started Tailwind

  • @yuritavares1916
    @yuritavares1916 11 месяцев назад

    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

  • @cashmoneyz3
    @cashmoneyz3 10 месяцев назад

    solid video, all the examples were quick and concise

  • @art_ik
    @art_ik 11 месяцев назад +4

    Great Video! on the point and no BS. I love it! keep it up :)

  • @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 :)

  • @timmcneill5299
    @timmcneill5299 9 месяцев назад

    Just discovered Tailwind, and my mind is blown, thanks for sharing

  • @zillboy
    @zillboy 11 месяцев назад +1

    Bro, thank you. I didn't knew so much, have been using tailwindCSS for quite some time, thank you :)

  • @gwemula
    @gwemula 9 месяцев назад

    Bro, beautify-made video! Absolutely love the content and your flow. Subscribed!

    • @perfectbase
      @perfectbase  9 месяцев назад

      Thanks!! Glad you enjoyed! ☺️

  • @thepolygotcoder
    @thepolygotcoder 6 месяцев назад

    Thanks Ravi - great Content and I learned alot

  • @elwoseopenstepcrew1134
    @elwoseopenstepcrew1134 6 месяцев назад

    subcribed, amazing short, im going to look all your channel !

  • @yanarlexvallejorosas
    @yanarlexvallejorosas 10 месяцев назад

    Great video on Tailwind, thank you very much.

  • @aurorasofie
    @aurorasofie 10 месяцев назад

    Awesome video, thank you! Glad youtube recommended it to me.

  • @saifullahrahman
    @saifullahrahman 10 месяцев назад

    thanks a lot, that second last tip was super usefull

  • @ahmadwahyudi3794
    @ahmadwahyudi3794 9 месяцев назад

    Thank you, you really helped me.
    Especially when you talk about mobile-first framework

  • @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.

  • @ns-gabrielmendoza1329
    @ns-gabrielmendoza1329 9 месяцев назад

    I didn't know tailwind even had this!Amazing 10 minutes of a developer life!

  • @nikhilev3840
    @nikhilev3840 10 месяцев назад

    Great video. Loved it. Keep doing more bro.

  • @poptaim7631
    @poptaim7631 10 месяцев назад

    I just want to say THANKS! Great video!

  • @0xAndy
    @0xAndy 11 месяцев назад

    This is the best Tailwind video I've ever watched. Thank you so much!

    • @perfectbase
      @perfectbase  11 месяцев назад

      Wow, thank you!! 😊

  • @RobertWildling
    @RobertWildling 7 месяцев назад

    The plugin feature with the neon shadow blew me away! Even intellisense is supported ... just like that! WOOOOW!!!

  • @khethelogp
    @khethelogp 11 месяцев назад +1

    These are pretty cool tips and tricks 🔥

  • @chatwithnayem
    @chatwithnayem Месяц назад

    Really awesome. Great tutorial 😮

  • @gillesa290
    @gillesa290 11 месяцев назад +1

    Very useful. Thanks a lot 👍

  • @halftome
    @halftome 3 дня назад

    Hey this was very informative, thank you! I love tailwind ❤

  • @draxeris
    @draxeris 11 месяцев назад +2

    Good job man! Learned a lot.

  • @FSRezende
    @FSRezende 11 месяцев назад

    great tips... amazing! congrats from Brazil!

  • @learner8084
    @learner8084 Месяц назад

    Just found this video, and I'm glad I did... subscribed.

  • @trontrontrontron4
    @trontrontrontron4 2 месяца назад

    thank you for this video. actually helpful.

  • @milad8436
    @milad8436 9 месяцев назад

    Informative content. Thank you.

  • @pcv-free-as-a-bird
    @pcv-free-as-a-bird 10 месяцев назад

    Really liked the neon shadow

  • @nikhil182
    @nikhil182 11 месяцев назад +10

    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 месяцев назад +1

      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 месяцев назад +3

      Thanks for sharing!
      Yes! I use the prettier plugin as well. Learned it from the T3 stack.

  • @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

  • @CreiwryJay
    @CreiwryJay 5 месяцев назад

    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!

  • @jugibur2117
    @jugibur2117 11 месяцев назад +1

    Wow, really useful stuff, thanks!

  • @AdhilAmeen13
    @AdhilAmeen13 11 месяцев назад +1

    Thanks, it was really helpful. 👍

  • @Svetoz
    @Svetoz 2 месяца назад

    Thanks! There are nteresing and not obvious tweaks :)

  • @simonswiss
    @simonswiss 11 месяцев назад +5

    Great tips, great graphics and great editing skills - I enjoyed this video 👏

    • @perfectbase
      @perfectbase  11 месяцев назад +1

      Thank you for watching! 🙏
      Super glad to hear that from a bigger content creator in the space!!

    • @shanemshort
      @shanemshort 11 месяцев назад +1

      came here from SImon's tweet, really neat! subscribed

    • @simonswiss
      @simonswiss 11 месяцев назад

      @@shanemshort 😎 I subscribed today too!

  • @mohammadalaaelghamry8010
    @mohammadalaaelghamry8010 Месяц назад

    Great value. Thank you.

  • @fantomgaming9018
    @fantomgaming9018 11 месяцев назад +1

    watched ur full video it was amazing

  • @mehmatrix
    @mehmatrix 10 месяцев назад

    I love your video and style. Subscribed :)

  • @ozzyfromspace
    @ozzyfromspace 11 месяцев назад +1

    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!!

  • @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 месяцев назад +1

      Glad that it’s also helpful for experienced users!! 😊
      Thanks for watching!

  • @saurabh75prakash
    @saurabh75prakash 11 месяцев назад

    Awesome tips, thanks.

  • @proMehediBD
    @proMehediBD 10 месяцев назад

    wow! its amazing.. Thank you for sharing ❤

  • @Kitety
    @Kitety 4 месяца назад

    I think it is very beautiful, it is so helpful!! Love it.Thx the video

  • @abdulmuminyqn
    @abdulmuminyqn 11 месяцев назад +1

    Really interesting tailwind tips! 🤩

  • @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!

  • @wadecodez
    @wadecodez 11 месяцев назад +28

    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 месяцев назад +2

      You could also just use a CSS variable, which makes this work with tailwind, without any lists or regex.

    • @perfectbase
      @perfectbase  11 месяцев назад +9

      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 :)

  • @lukasluftlaufer1093
    @lukasluftlaufer1093 11 месяцев назад +4

    @5:01 there is also a possibility to include tailwind classes in the theme file, that shouldn't be purged. So there is no need for your unused object ;) i Think it's called safelisting.

    • @perfectbase
      @perfectbase  11 месяцев назад

      Thanks for sharing!! I wish I knew this before making the video.

  • @JoseJavierEspinoza
    @JoseJavierEspinoza 11 месяцев назад +1

    that was a really great video! ty!

  • @MyCodingDiarie
    @MyCodingDiarie 11 месяцев назад +1

    new subscriber 🖐! love your teaching style i learned a lot!

    • @perfectbase
      @perfectbase  11 месяцев назад +1

      Thanks for subscribing!!! 🙏

  • @krishnendudakshi3452
    @krishnendudakshi3452 10 месяцев назад

    hey this is an awesome video. love it. Liked it and subscribed ❤