Tailwind CSS Tutorial #7 - Using Flexbox

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ค. 2020
  • Hey gang, in this tailwind css tutorial we'll look at how to work with flexbox & use it to flesh out a little of our design.
    CSS Flexbox tutorial - • CSS Flexbox Tutorial #...
    🐱‍👤🐱‍👤 JOIN THE GANG -
    / @netninja
    ----------------------------------------
    🐱‍💻 🐱‍💻 My Udemy Courses:
    + Modern JavaScript - www.thenetninja.co.uk/udemy/m...
    + Vue JS & Firebase - www.thenetninja.co.uk/udemy/vu...
    + D3.js & Firebase - www.thenetninja.co.uk/udemy/d...
    🐱‍💻 🐱‍💻 Course Files:
    + github.com/iamshaunjp/tailwin...
    + Full html template - github.com/iamshaunjp/tailwin...
    🐱‍💻 🐱‍💻 Other Related Free Courses:
    + • HTML & CSS Crash Cours...
    Download node.js - nodejs.org/en/
    Get VS Code - code.visualstudio.com/

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

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

    This was instructive, I do understand everything, Thank you and Keep up the great work.

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

    The best teacher to learn from!!

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

    tailwind is really a bliss

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

    Best series of all!!!

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

    ALWAYS learn a lot from you

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

    Thank you!!! 😁

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

    I'm unsure if you can help, but I'm fiddling with tailwind at the moment and I want two divs sitting next to each other when the screen width is at a medium size. Anything smaller, I want them sitting on top of each other. I've tried using md:flex and flex wrap, but to no avail. Is there a solution to this?

  • @tak68tak
    @tak68tak 11 หลายเดือนก่อน

    amazing!

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

    you are awesome mentor

  • @bachi4855
    @bachi4855 4 ปีที่แล้ว +6

    Hey Master! When can we expect the Tutorial Express + React? :D

  • @shaunrussell1020
    @shaunrussell1020 2 ปีที่แล้ว +7

    Colored divs at 3:50


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

      good man

  • @official.mhm13
    @official.mhm13 4 ปีที่แล้ว +18

    There is a person on the earth who has turned on notifications for the Net Ninja channel just so that he can dislike Shaun's videos whenever he publishes them.

    • @IzukuMidoriya-st5dh
      @IzukuMidoriya-st5dh 4 ปีที่แล้ว

      and that man doesn't even matter to ninjas fam! xDDD

    • @michealwaldrup4357
      @michealwaldrup4357 4 ปีที่แล้ว +2

      Some people just want to watch the world burn...

    • @golainte
      @golainte 4 ปีที่แล้ว +2

      the dislike ninja

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

      @@golainte 😂

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

    thanks bro !

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

    thank you so much sir

  • @StudentDictionary
    @StudentDictionary 9 หลายเดือนก่อน

    I literally understand flex property 🥳🥳🥳🥳. Thanks sir, you explain very well.

    • @NetNinja
      @NetNinja  9 หลายเดือนก่อน +1

      Great to hear! :) thanks for watching

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

    Hey Ninja, I absolutely love your videos. Recently I was studying express and node. I kinda feel that we have to memorize a lot of things. Do we in general have to memorize/ see documentation for these things? I know javascript but still feel that there are many things that i don't know. Can it be because of my bad js skills or is it just how express/node works. Also thanks for making videos and helping me in my dev journey

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

      You don't have to memo anything, simply refer to documentation. Even for very basic things, it's absolutely fine.

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว +6

      Hey, first of all thanks - really glad you like them. Secondly, for sure you do NOT need to memorize everything. The core syntax of any language / framework / tool you use will sink in over time the more you use it, but the main thing is that you understand how something works & why. As long as you understand something, you can always look-up a method, property or best way of coding something :).

    • @anshsahni2864
      @anshsahni2864 4 ปีที่แล้ว

      The Net Ninja Thanks a lot

  • @chizuru1999
    @chizuru1999 4 ปีที่แล้ว

    There it is! 1:19 TADA! 😝😝

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

    Hey shaun, can you please tell how many videos are going to be in this series? And when do you expect to complete it? Much appreciated.

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

      Hey, about 18 in total probably about another week or something until it's all up.

    • @sakshamkapoor5905
      @sakshamkapoor5905 4 ปีที่แล้ว

      @@NetNinja that's amazing, thank you Shaun ❤

    • @laurabennis3871
      @laurabennis3871 4 ปีที่แล้ว

      @@NetNinja thank youuu!!

  • @stocklin9831
    @stocklin9831 ปีที่แล้ว +5

    1:45 flex justify-center
    2:00 flex justify-start
    2:05 flex justify-end
    2:20 flex justify-between
    2:30 flex justify-around
    2:40 flex justify-evenly
    2:50 flex justify-end
    3:55 h- w-
    4:50 boxes - flex
    5:10 boxes - flex item-end
    5:30 boxes - flex item-center
    5:40 boxes - flex item-center justify-center

  • @marcelomagalhaes4508
    @marcelomagalhaes4508 4 ปีที่แล้ว

    How can I guess what the margin, padding, height, width strengths stands in pixels?

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

      the values are in rem units, as per the documentation (tailwindcss.com/docs/padding)
      rem is based on the font size of the root element - 1rem = 1 * root font size
      on most modern browsers the default font size is 16px, if not changed by the user (i.e. made the text larger/smaller), but you can also set it in your css
      the font-size of the root element (typically ) is just set the way you set font-size anyway:
      html{
      font-size:12px; /*change to 12px*/
      }
      now 1 rem is 12px, and you can do analogously all other calculations
      keep in mind that while you set it with font-size, you can use rem units for anything you may use pixels for - margin, padding, drop shadows, font-size, borders, etc
      there are also plenty videos on the topic of rem, and his little brother - em, so I suggest watching some, it was hard for me to understand them at first too ;)
      hope this helps, 4 months later

  • @Uranium-bh7kt
    @Uranium-bh7kt 2 ปีที่แล้ว

    anyone knows the color theme he uses?

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

    I create my own classes and import them in the tailwind confg file, then I go to the html and put them, but they are shown in the html files, but the code does not work.

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

      Did you find out why? I have the same problem!

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

    Awesome +++++++++++++++++ 😃

  • @apricity3131
    @apricity3131 4 ปีที่แล้ว +2

    What VSCode theme do you use?

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

      Hey, it's Monokai++ :)

    • @apricity3131
      @apricity3131 4 ปีที่แล้ว

      The Net Ninja Thanks!

    • @RR-et6zp
      @RR-et6zp 2 ปีที่แล้ว +1

      @@apricity3131 try synthwave '84 theme with glow enabled

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

    my highschool it class is using your videos lol

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

      Aha :) that's awesome

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

    How do you get your terminal to be all stylized like that with the emojis lol

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

    tailwindcss build src/input.css -o public/output.css only builds out @tailwind base; it dose'nt build @tailwind components and @tailwind utilities

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

      Same thing happened to me but now it's working fine reply me I'll tell you how I did it or you can just search on TH-cam tailwind installation and filter the results as this month and watch the first video that comes up at top

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

    💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙💙

  • @andyambrose
    @andyambrose 3 หลายเดือนก่อน

    This didn't work on my system. Not sure why. The flex properties didn't reflect on my browser.

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

      Check the href attribute in the link tag. Make sure the name is correct.

  • @comradered8125
    @comradered8125 4 ปีที่แล้ว +2

    Please make a playlist on anime js or howler js or ml5/tensorflow js
    like if you agree so sensei can see it