CSS Grid - What's new in Tailwind CSS

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • Tailwind CSS v1.2 added a comprehensive set of utilities for working with CSS Grid Layout! Let's take a look at how they work.
    Play with the code on Tailwind Play:
    play.tailwindc...

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

  • @unboxoverkill
    @unboxoverkill 3 года назад +6

    The amount of thought and work that went into this would make anybody's mama proud.

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

    I didn't expect Tailwind'tm would make this tutorial super easy

  • @LuisReyes-zs4uk
    @LuisReyes-zs4uk 2 года назад +7

    more tutorials should be like this one! straight to the point and with many examples! much appreciated.

  • @aislanarislou
    @aislanarislou 3 года назад +7

    So cool!! Would be awesome to have a basic tutorial with a app layout using these grid utilities.

  • @sanjayatony
    @sanjayatony 4 года назад +42

    I learn display:grid from Tailwind classes :D

    • @TailwindLabs
      @TailwindLabs  3 года назад +14

      Love it when Tailwind CSS helps to teach actual CSS 🎉

  • @Ricker0133
    @Ricker0133 4 года назад +5

    Amazing, great explanation with very good case examples. Thanks

    • @TailwindLabs
      @TailwindLabs  4 года назад +1

      Thank you - it was fun coming up with these demos! 👍

  • @nicholasyoa86
    @nicholasyoa86 2 года назад

    I-I'm speechless after watching this (and excited, woah). Me dying over trying to do responsive design and grid layouts -- this is just awesome. I'm gonna have to watch this video again when I resume my project, this is so on-point and focused, while making it exciting (like showing how things can be used like swapping out code, improving it -- its just amazing). Thanks!

  • @tomasmartty9864
    @tomasmartty9864 4 года назад +2

    The end was kind of abrupt but what an awesome piece of educational css grid!

    • @TailwindLabs
      @TailwindLabs  3 года назад

      Yeah it indeed came to a full hard stop 😅 Thanks for the kind words, I think I got better at smoother endings with the next videos - that was the very first one 👍

  • @JamesQQuick
    @JamesQQuick 3 года назад +1

    Loving this videos!!

  • @cyb
    @cyb 3 года назад +9

    I hope a "tailwind way" of doing grid template areas is in the pipeline :)

    • @jacobhilker7722
      @jacobhilker7722 3 года назад

      not the exact same, but there is a plugin for grid template areas on GitHub

  • @billaddison82
    @billaddison82 4 года назад +4

    Amazing work and perfectly explained, thank you!

  • @nabilabdulrahman9149
    @nabilabdulrahman9149 3 года назад +1

    simple and straightforward explanation keep up the great work

  • @thanossmponias2915
    @thanossmponias2915 3 года назад

    Magic . . . .Tailwind is going to dominate the frontend!! Keep going with your excellent work!

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

    Im watching this while in a zoom meeting, and I cant wait to get off so I can try it :)

  • @aniket.kumarr
    @aniket.kumarr 2 года назад +1

    This was FANTASTIC! Thanks!

  • @Tigregalis
    @Tigregalis 4 года назад +1

    These videos are awesome. It'd be amazing if you could go back and do a video in this style for each of Tailwind's "old" features.

    • @TailwindLabs
      @TailwindLabs  3 года назад +2

      That's the plan in the long run 😅

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

    Best video so far simple, no nonsense 🤲

  • @Mikey-od1xd
    @Mikey-od1xd 3 года назад +2

    Why use and for the items instead of just ?

    • @TailwindLabs
      @TailwindLabs  3 года назад

      That's a good question, and not sure I have the answer 😅
      I think I had a list of UI cards first, and it made sense in the markup - but when I moved to a more abstract grid, it could very well have been just divs :)

  • @larisaa2919
    @larisaa2919 2 года назад

    Amazing video, thank you!! Very easy to understand :)

  • @Alefari98
    @Alefari98 3 года назад +6

    Hi! Great explanation, i have one question, what tool can a use to see the grid lines on the browser like you do? I think it’s great for development

    • @TailwindLabs
      @TailwindLabs  3 года назад +8

      This is the developer tools in Firefox! I had them off-screen for the video, but if you open dev tools in Firefox and inspect a grid element, you'll have options to show grid lines etc 👍

  • @mahdinaderian4053
    @mahdinaderian4053 3 года назад

    Tailwind CSS must be named Tailwind I'm Thrilled!! :)

  • @rezwansaki
    @rezwansaki 2 года назад

    Thanks for this nice tutorial.

  • @serhioromano
    @serhioromano 3 года назад

    This is amazing. Why I learn about this framework only now?!

  • @driziiD
    @driziiD 4 года назад +1

    and the presenter is excellent!

  • @gskywalker6147
    @gskywalker6147 3 года назад +1

    tailwind was so cool

  • @LuBre
    @LuBre 3 года назад

    Basically, this:
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

  • @BathingAfrican
    @BathingAfrican 2 года назад

    i miss u Simon :(

  • @uusa35
    @uusa35 3 года назад

    thank you so

  • @sreekumarmenon
    @sreekumarmenon 3 года назад +1

    is it possible to use grid areas with tailwind?

  • @samuelnmeje
    @samuelnmeje 3 года назад

    thank you great teacher

  • @SaadKhaan
    @SaadKhaan 4 года назад

    Can we please have a video setting up Tailwind CSS with Gatsby?

  • @losource
    @losource 3 года назад +2

    Is it possible to have overlapping containers using CSS grid in Tailwind?

    • @TailwindLabs
      @TailwindLabs  3 года назад +2

      Do you mean "grid" containers, or "cell" containers should overlap? I think both are possible 👍

    • @losource
      @losource 3 года назад

      ​@@TailwindLabs Thanks for the reply! I mean both. A lot of interesting CSS grid layouts use both overlapping cells and overlapping grids. I would love to see how this is done with Tailwind.

  • @edderrd
    @edderrd 4 года назад

    Also offtopic, but wonder what theme and font do you use on your editor, looks nice!

  • @МуратКошетеров
    @МуратКошетеров 9 месяцев назад

    liked and subscribed bro...

  • @muhammadmahbub6462
    @muhammadmahbub6462 3 года назад

    great

  • @Amirkhantv
    @Amirkhantv 4 года назад

    Amazing! is this even possible using bootstrap?

  • @lucioeiras
    @lucioeiras 3 года назад

    What is your VSCode theme??

  • @valijonrahimov6765
    @valijonrahimov6765 4 года назад

    So nice, can you also share your vscode settings like font, theme and etc please, thanks

  • @therealice
    @therealice 4 года назад

    What editor and plugins was used here?

  • @ernestodiaz4378
    @ernestodiaz4378 3 года назад

    If you ever feel lonely, remember about the only guy who hit unlike in this awesome video (atm)

  • @tanzimibthesam5861
    @tanzimibthesam5861 3 года назад

    How to make a loop of these while using Vue or Laravel?

    • @biigsmokee
      @biigsmokee 3 года назад

      You would implement a loop in your respective language

    • @tanzimibthesam5861
      @tanzimibthesam5861 3 года назад

      @@biigsmokee I am talking about like I write post in posts then {{post.title}} if there are several size grids how do I adjust them

    • @davidrobertson6371
      @davidrobertson6371 3 года назад

      @@tanzimibthesam5861 I don’t know if this is the best way, but in Vue I dynamically inject the classes with same loop that’s injecting the content.

  • @tapiafai
    @tapiafai 3 года назад

    omg what

  • @zydbinak2561
    @zydbinak2561 12 дней назад

    T H A N K S

  • @adnansmove8597
    @adnansmove8597 2 года назад

    Absolutely Excellent....... Just Wow And Tnq Very Much

  • @AbdulWahab-ev2ct
    @AbdulWahab-ev2ct 4 года назад +3

    beautiful explanatoin in love with tailwind css

  • @januariopinto_
    @januariopinto_ 4 года назад +3

    Completely off topic, but, what's the setup for this recording? It's so well aligned to the center! 😆

    • @TailwindLabs
      @TailwindLabs  4 года назад +1

      Used an app called "divvy" to set up window dimensions. Works both on Mac and PC 👍

    • @januariopinto_
      @januariopinto_ 4 года назад +4

      @@TailwindLabs thanks!
      Loving the explaination, 10/10, it's clean, the constant switching between scenes (code / example) is on point, the voice is precise, explains enough but without being neither slow or boring, good content! 🙃

    • @FugalFellow
      @FugalFellow 4 года назад +1

      @@TailwindLabs Outstanding work 👏

    • @TailwindLabs
      @TailwindLabs  4 года назад +1

      @@januariopinto_ Thank you so much! ❤️

  • @Jefferson4026
    @Jefferson4026 3 года назад

    meanwhile boostrap in 2050: We introduce Css grid.

  • @driziiD
    @driziiD 4 года назад +3

    this is brilliant!

  • @eduardocerejo3134
    @eduardocerejo3134 3 года назад +7

    To be honest, i find it easier to work with grid when using straight CSS.

    • @TailwindLabs
      @TailwindLabs  3 года назад +10

      Sure thing - CSS grid has a lot of bespoke, custom scenarios where it's probably better to write the CSS directly. We've tried to abstract away a set of useful utilities that help scaffold common layouts 👍

  • @muhammadbilalmalik7292
    @muhammadbilalmalik7292 2 года назад

    Now this is some nice real shit!!!

  • @SoeaOu
    @SoeaOu 4 года назад +1

    amazing quality and explanation, thanks

  • @fa8ster
    @fa8ster 2 года назад

    What font is it that you’re using in the editor?

  • @coltonwilliams1565
    @coltonwilliams1565 3 года назад

    Great video