Designing with Tailwind CSS: Hover, Focus, and Active Styles

Поділитися
Вставка

КОМЕНТАРІ • 14

  • @eugenem529
    @eugenem529 Рік тому

    Logged in to UA-cam just to leave a like
    You explained in 1 minute what docs are doing in 20. thanks

  • @chicharitomagnetico
    @chicharitomagnetico 3 роки тому +10

    For those following these series, since Tailwind CSS v2.0, replace `focus:shadow-outline` with `focus:ring`
    tailwindcss.com/docs/upgrading-to-v2#replace-shadow-outline-and-shadow-xs-with-ring-utilities

  • @roylee6889
    @roylee6889 4 роки тому +1

    The [ variant ] concept is pretty cool

  • @djjoe1385
    @djjoe1385 4 роки тому +1

    Great Tutorial! For learners whose native language is not English, it would be better if they could add subtitles.

  • @zen_code
    @zen_code 3 роки тому +1

    Hey Adam, I wonder how to create a hover on Tailwind like an image hover, and then an icon and some text appear over the image?

  • @shubhamambastha
    @shubhamambastha 3 роки тому +2

    Before and after?

  • @samuelnmeje
    @samuelnmeje 3 роки тому +2

    focus classes are not working in my build. great tutorial all the same..

    • @oshimaharuki9148
      @oshimaharuki9148 3 роки тому

      Same problem here...

    • @samuelnmeje
      @samuelnmeje 3 роки тому

      @@oshimaharuki9148 have you fixed it ?

    • @oshimaharuki9148
      @oshimaharuki9148 3 роки тому +5

      Although I haven't tried it yet I think the solution is to replace "focus:shadow-outline" by "focus:ring". Shadow-outline is deprecated in version 2.0.1.

    • @samuelnmeje
      @samuelnmeje 3 роки тому

      @@oshimaharuki9148 okay.. Good luck. i am loving tailwind

    • @wendersonfernandes530
      @wendersonfernandes530 3 роки тому

      @@oshimaharuki9148 thanks