04: Hover, Focus and Other States - Tailwind CSS v2.0: From Zero to Production

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

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

  • @faldikn
    @faldikn 3 ปีที่แล้ว +14

    i think this series one of the best explanation/course i have ever watch

  • @ajmalrasheed5412
    @ajmalrasheed5412 2 ปีที่แล้ว

    Best Series to Learn CSS, TailwindCSS, overall responsive design.

  • @kenkioqqo
    @kenkioqqo ปีที่แล้ว

    Tailwind is the best thing I discovered after Django. I'm now using them both in my projects.

  • @neatfastro
    @neatfastro 2 ปีที่แล้ว +1

    Thanks for explaining this "extend" fields behaviour of the config file!

  • @roelheesterbeek1763
    @roelheesterbeek1763 3 ปีที่แล้ว +4

    Oops...! 4:19
    Very clear and thorough tutorials! Merci beaucoup!

    • @AnatolyKosorukov
      @AnatolyKosorukov 3 ปีที่แล้ว

      Yes! This is an excellent methodological technique - problem-based learning.

  • @goncalodumas
    @goncalodumas 3 ปีที่แล้ว +2

    Great set of videos, thanks for all this good work!

  • @kaszapnagypeter
    @kaszapnagypeter 3 ปีที่แล้ว +1

    That button is so beautiful!!!

  • @arrafiialfa4609
    @arrafiialfa4609 3 ปีที่แล้ว +3

    your explanation is very clear sir very easy to understand too thank you very much

    • @TailwindLabs
      @TailwindLabs  3 ปีที่แล้ว +1

      Love to hear that, happy it was helpful ✨

  • @marktmcewan
    @marktmcewan ปีที่แล้ว

    at 3:46 you edit the config file for the active state of the button. Was this exclusive to previous versions of Tailwind ? I dont see this mentioned in the current version of the docs.

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

      Yep, all variants have gone away since the Just-in-Time compiler was added in Tailwind v3. Every variant is enabled out of the box now, so you don't need to worry about that.

  • @uxddev
    @uxddev ปีที่แล้ว

    And yet I see that the main problem with Tailwind CSS is that we put all the CSS / SCSS into classes and make it too long... and it is very difficult to read and maintain without some additional tools, sorry, but I still don't use Tailwind CSS in my project.
    Thank you for helping me make a decision! :) Maybe someday, for some type of project, I will choose Tailwind, but still not today.

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

    I'm trying to implement focus-visible on input fields but it still shows focus when user clicks in. focus-visible:outline-none works for buttons and links but not for input fields. Can anyone help how I can remove the focus from input field please?

  • @thefamousdjx
    @thefamousdjx ปีที่แล้ว +1

    For me the effects work without including the transform class

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

    Thanks to Sharing your Knowledge , That's Great !

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 3 ปีที่แล้ว

    This tutorial is opening wide my mind hehehe, thanks a lot!!!

  • @RemoteWorkerIndonesia
    @RemoteWorkerIndonesia 3 ปีที่แล้ว

    I love it!
    But I will work on prev video first: go to say, *responsive design* is the most important thing in current gen frontend dev

  • @fatemahalthenyan398
    @fatemahalthenyan398 2 ปีที่แล้ว

    Is the default browser focus state on the new version outline-none?

  • @tt_1337
    @tt_1337 3 ปีที่แล้ว

    Any tutorial or material on the invalid state because I don't know how to use it?

  • @a89529294
    @a89529294 3 ปีที่แล้ว

    Thanks for the video. I would like to know how can I tell vscode to wrap class attribute when there are too many classes? Right now all the class names stay on one single line no matter how long it gets.

    • @manuelmaas1005
      @manuelmaas1005 3 ปีที่แล้ว +2

      You can go to View in your vs code and activate the toggle word wrap. (or press Alt+Z in your vs code)

    • @darshanpagar1894
      @darshanpagar1894 3 ปีที่แล้ว

      install prettier extension then press left (shift+alt+F)

  • @TheXuism
    @TheXuism 2 ปีที่แล้ว

    It seems variants has been deprecated on new version.

  • @Bawaromerali
    @Bawaromerali 3 ปีที่แล้ว +1

    amazing video , thanks .

  • @danquinn1773
    @danquinn1773 3 ปีที่แล้ว

    Is variant configuration still necessary with Tailwind v3.0?

    • @aleaallee
      @aleaallee 3 ปีที่แล้ว +2

      Nope. Tailwind 3 includes everything by default because it only compiles what you use.

  • @ulrichmbouna4091
    @ulrichmbouna4091 3 ปีที่แล้ว

    Thank for the video , but there is a problem with *transform hover:-translate-y-0.5* on a link tag , it doesn't work , but on button tag it work, can you explain it to me? Thanks

    • @patrickha7541
      @patrickha7541 3 ปีที่แล้ว

      Must include type="button"

    • @ulrichmbouna4091
      @ulrichmbouna4091 3 ปีที่แล้ว

      Thanks you

    • @TuyaTheNasty
      @TuyaTheNasty 3 ปีที่แล้ว

      I know this is an old comment, but make sure to set your href to inline-block.

  • @dwikurniawan1376
    @dwikurniawan1376 3 ปีที่แล้ว

    That long class is hard when debugging style. Am I right?

    • @catalinul1461
      @catalinul1461 3 ปีที่แล้ว

      If you go the normal way, it takes time to read all of them but you move all those classes under a common class, say .button, suddenly there's a clean up.

  • @morrobox7558
    @morrobox7558 3 ปีที่แล้ว +3

    Je ne savais pas que Rémi Gaillard travaillait pour Tailwind 😄

    • @lor3nzo37
      @lor3nzo37 3 ปีที่แล้ว

      watcha talking bout?

  • @debscamera2572
    @debscamera2572 3 ปีที่แล้ว

    active: state still doesn't work for me.

  • @jeromeborg8367
    @jeromeborg8367 3 ปีที่แล้ว

    merci very good explanations

  • @Ch051
    @Ch051 ปีที่แล้ว

    Having to enable things in the config file seems really clunky and inelegant. There has to be a better reason than "this stuff is uncommon so we didn't enable it by default".

  • @vapeurdepisse
    @vapeurdepisse 3 ปีที่แล้ว

    I'm just concerned with the amount of disorganized garbage in the class attributes. I hope there is a way to tidy this up because it's not maintainable......

    • @catalinul1461
      @catalinul1461 3 ปีที่แล้ว

      Of course there's a way, move those classes under a common class. Say you have 10 classes for a button, create a tailwind component, say button, and grab all those classes under the class .button.

  • @MistaT44
    @MistaT44 3 ปีที่แล้ว +2

    Create a tool/library. Also casually create a whole course for it for free. Cheers

  • @leodwivedi
    @leodwivedi 3 ปีที่แล้ว

    sm:hover:bg-green-500 not work!

    • @AnatolyKosorukov
      @AnatolyKosorukov 3 ปีที่แล้ว

      A condition to check that is work or not: change your screen size to 640px or wider then hover the button. I had done than and the button has change its background color to green.

  • @chrisburd9751
    @chrisburd9751 3 ปีที่แล้ว

    👏🏽👏🏽👍🏽