The Advanced TailwindCSS Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 2024
  • Animated UI components for React, Tailwind CSS, Framer Motion & More ✨ www.hover.dev
    TailwindCSS is, in my opinion, the simplest, easiest to maintain, most scalable way to handle styling.
    Today we're not only going to learn the basics (you can learn those in about 5 minutes on your own), but all of the advanced tips I've picked up over a few years using Tailwind.
    If there's anything I haven't covered in this video that you'd like me to cover, please don't hesitate to ask! I'm happy to do more break downs!
    📚 Project Links
    Code: github.com/TomIsLoading/advan...
    Better theming: • The Best Way to Handle...
    Why people love Tailwind: • Why People Love Tailwi...
    Install: tailwindcss.com/docs/installa...
    tailwind-merge: github.com/dcastil/tailwind-m...
    class-variance-authority: cva.style/docs
    🔗 My Links
    TikTok: / tomisloading
    Instagram: / tomisloading
    GitHub: github.com/TomIsLoading
    Twitter: / tomisloading
    Discord & more: linktr.ee/tomisloading
    Portfolio templates: tomisloading.gumroad.com/
    Website: www.hover.dev
    Timeline:
    0:00 - Introduction
    0:23 - What is is and why you should use it
    5:17 - Installation
    6:14 - My TailwindCSS & React component library
    6:59 - VSCode and prettier plugins
    8:27 - The basics
    12:26 - Modifiers
    16:57 - Dark mode
    19:22 - Responsiveness
    21:11 - Extra tailwind magic utilities
    25:03 - Theming
    28:14 - Directives
    29:50 - Plugins
    33:03 - Tooling
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 21

  • @user-vd3ph6zh8q
    @user-vd3ph6zh8q หลายเดือนก่อน +11

    One thing I use for responsiveness is for things like instead of needing to add display block to something at certain breakpoints you can do `max-md:hidden` that way it’s just a little less code and tailwind basically treats it in reverse so up to md I want to be hidden rather than starting at md.
    Also you can omit the _ in the arbitrary values when it’s comma separated like colors, min/max/clamp, etc, the parser can automatically pick up the separator.

    • @tomisloading
      @tomisloading  หลายเดือนก่อน

      Oh cool! I actually didn’t know they supported that haha!

    • @user-vd3ph6zh8q
      @user-vd3ph6zh8q หลายเดือนก่อน +1

      Also speaking of plugins, I actually created a npm package that allows you to pass in your primitives and helps you create themes for tailwind, essentially creates a custom tailwind plugin for you with your colors/themes.

  • @RuiValente
    @RuiValente หลายเดือนก่อน +2

    Great video
    TailwindCSS works perfectly with my new projects. It's easy to use and, most importantly, makes it easier to center divs and to choose colors and follow the "color rule"😆

  • @dr.d3600
    @dr.d3600 หลายเดือนก่อน +2

    awesome video! great job due!

  • @tamerahmed9860
    @tamerahmed9860 หลายเดือนก่อน +2

    Amazing as always! Thank you

    • @tomisloading
      @tomisloading  หลายเดือนก่อน

      Thank you so much! 😁

  • @prashlovessamosa
    @prashlovessamosa หลายเดือนก่อน +2

    Great thanks buddy

  • @ismaeltinta6118
    @ismaeltinta6118 หลายเดือนก่อน +2

    I love this. thanks for the tips

    • @tomisloading
      @tomisloading  หลายเดือนก่อน

      Happy I can help! :)

  • @iamahtic
    @iamahtic หลายเดือนก่อน +2

    Your goated. Keep it up

  • @godofwar8262
    @godofwar8262 หลายเดือนก่อน +2

    Great tutorial 🎉

    • @tomisloading
      @tomisloading  หลายเดือนก่อน

      Thank you! 😁

  • @ricardocnn
    @ricardocnn หลายเดือนก่อน +3

    Amazing! It was a pleasant refreshment for me. Could you make a video about tailwind 4 alpha?

  • @thepromisebenard
    @thepromisebenard หลายเดือนก่อน +2

    Nice Video Tom. Please what Vscode theme are you using?

  • @alelsixx6168
    @alelsixx6168 หลายเดือนก่อน +1

    css nativo o tailwind , tengo que elegir uno ?

  • @legittutorial4565
    @legittutorial4565 หลายเดือนก่อน +1

    I love tailwind css but don't know why my tutor insisted bootstrap

  • @ontheruntonowhere
    @ontheruntonowhere 6 วันที่ผ่านมา

    Great video. Small, niggling correction: 'leading' at 11:18 is pronounced with a short 'e', as in 'ledding'. Rhymes with 'sledding'.