Apply tailwindcss classes to child elements through parent

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Tip on how you can apply style to child elements through the parent instead of adding classes to each child element.
    In this video we'll build a stacked avatars list.
    Code
    play.tailwindcss.com/Mkhi9m9Gws
    0:00 - preview
    0:13 - tailus logo intro
    0:15 - comon use
    01:48 - duplicating avatars preview
    01:51 - duplicating avatars code
    01:53 - Apply tailwindcss classes to children through parent element
    02:50 - Final result
  • НаукаНаука

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

  • @callowindia
    @callowindia Год назад +1

    Make more such content please ❣️❣️❣️❣️

  • @meschacirung6075
    @meschacirung6075 Год назад

    Can't wait to use this in our next components :)
    What do you think about ??

  • @kat-Mj
    @kat-Mj Год назад

    didn't think that this could be done using tailwind css only, mostly I write my own CSS to achieve this kinda things 😁😁, i'll give it a shot
    thanks 🔥🔥🔥🔥

    • @1000ylovers
      @1000ylovers Год назад

      TailwindCSS is just a plain CSS with more features

  • @callowindia
    @callowindia Год назад +1

    Me after seeing this 🎉🎉🎉🥳

    • @Tailus-ui
      @Tailus-ui  Год назад

      The best is yet to come !