TailwindCSS responsive tables on mobile screens

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • In this video we'll see what solutions we have when it comes to making tailwindcss responsive tables look good on mobile devices.
    Code snippets: tallpad.com/series/tailwindcs...
  • НаукаНаука

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

  • @Ca3yMiX
    @Ca3yMiX Год назад +28

    in a real case we would have dynamic table data, so instead of styling each tr individuality you can use more in the doc, thanks for the video 🙌

    • @cdruc
      @cdruc  Год назад +5

      Yup! Forgot there is a tailwind variant for almost everything 🤣. I might do a video on those just to catch up

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

      @@cdruc 😅 btw i came from react .. but tailwind used in jsx part so i can follow .. thanks for the video 🙌

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

    Your content is the best 👏👏👏👏. You deserve a million likes and subscribers 👏👏👏👏

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

    Thanks .. I was using table wrong in.. its so much helpful.

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

    Dude, I was really lost using tables with Django and Tailwind, this saved me, so thaaanks,

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

      Glad you find it helpful! 👊

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

    This is crazy great! Thank you so much!! 👏

  • @themarksmith
    @themarksmith 2 года назад +2

    Loving the videos on tailwind... Not into PHP (sorry) but your CSS, JS, etc. stuff is great - thank you!

    • @cdruc
      @cdruc  2 года назад +2

      If it wasn't for Laravel, I probably wouldn't be into php as well, so that's ok 😂
      Glad you enjoy the others!

  • @CollinsKreation
    @CollinsKreation 2 года назад +2

    This is sick... I love it...thanks

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

    I'm lucky to found gems video. Awesome toturial. And thank's

  • @nicolasportu
    @nicolasportu 8 месяцев назад

    Outstanding! Best of its kind 😃

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

    Awesome video! I hope you can make a tutorial for the pagination as well

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

    Great video!

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

    very good video - even understandable for me as a backend / database guy :)

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

      Glad you find it useful!

  • @kohelet910
    @kohelet910 2 года назад +1

    Nice job !

  • @marcelosantoscorrea
    @marcelosantoscorrea 2 года назад +1

    Very very good!!!

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

    now this is awesome

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

    Very helpfull tutorial and well explained it helps me alot, you have earn 1 more sub

  • @GammaWraith
    @GammaWraith 2 года назад +2

    Really nice, should definitely add some sticky headers then it will be golden

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

    Реально красиво получилось. Спасибо

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

    good stuff bro

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

    this is so underrated

  • @shaikotikbalhridoy2039
    @shaikotikbalhridoy2039 7 месяцев назад

    Awesome bro, i like it ❤

  • @goto...7056
    @goto...7056 2 года назад +1

    Great! Thank you!

    • @goto...7056
      @goto...7056 2 года назад +1

      Also I discovered your website - a lot of useful information, I'll start using it tomorrow.

    • @cdruc
      @cdruc  2 года назад +1

      Thanks! I hope you’ll find it helpful 👊

  • @elfreddy5
    @elfreddy5 Год назад +2

    great video, I was able to use the idea in my project. Datatables and mobiles are not visually compatible at all.

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

    for option number 2. in production are you going to render the data at the same time as the table or you will make a trigger if it hits a specific media query?

    • @cdruc
      @cdruc  2 года назад +2

      Correct! Here: ruclips.net/video/S4MhQ6peq8A/видео.html
      On line 5 I'm hiding the table on screens less than 768px in width using hidden md:block, and on line 59 I'm showing the grid&cards but only until I reach 768px - from here on the table will be visible.

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

    Clean clean

  • @jasonb202020
    @jasonb202020 2 года назад +1

    nice

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

    How can i prevent my table from stretching? because now horizontal scrollbar appeared, PLEASE HELP ME 🙏🙏🙏🙏

  • @maxwellmuhanda7940
    @maxwellmuhanda7940 9 месяцев назад

    damn i cant explain how mucn i have learn in such a s small time

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

    code please

  • @programacion5536
    @programacion5536 11 месяцев назад

    I think they could be accessibility issues if you use a grid div instead of a the table element. The first approach is the best, imo

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

    I’m still trying to understand what advantage tail wind has for developers who already know CSS. It would be even cleaner to write CSS inside dedicated file and not have to clutter the HTML.

    • @hemrastyl6765
      @hemrastyl6765 8 месяцев назад

      In Software development, we want to get money as fast as we possibly can unless you have other goals, and how do we achieve that? By being productive and saving time. That's where Tailwind comes in.

    • @whintersby
      @whintersby 2 месяца назад

      I agree with @NekoJinFel. This looks like someone puked up CSS classes all over the page. This is worse than old school Div-itis.

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

    How to deal with table in mobile devices?
    Hide it.
    Awesome content though.