CSS Flexbox Tutorial | Create Layouts Using CSS | Flexbox Tutorial | Learn HTML and CSS

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

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

    NEW UPDATED 2023 COURSE AVAILABLE! 🙂
    You can find it here: th-cam.com/video/v8jDnBYc0bs/w-d-xo.html&ab_channel=DaniKrossing

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

    There is a lot Teachers of HTML*CSS , But for me you are the best .
    i always say that everything need to be learn need a good teacher and a good teacher is someone who explain something hard and make it easy .
    Teacher is the key for learning Guys if you don't understand something it's because of the teacher and not your brain .
    Thank you mmtuts

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

    You're a life saver. My own instructor couldn't tell me how to correctly make a simple two-column flex box.

  • @Dani_Krossing
    @Dani_Krossing  6 ปีที่แล้ว +46

    Hi everyone :) The next HTML and CSS lesson is finally here. Even though it took a bit longer than expected. Enjoy!

    • @TheElevenBravo
      @TheElevenBravo 5 ปีที่แล้ว

      Hej ven! Jeg elsker dit arbejde og mange tak for at dele din viden med verden!
      Hvilken editor platform bruger du?

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

      @@TheElevenBravo da hell?

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

      ​@@epic_waffle2359 I think it is actually spelled backwards. try reading it reverse. :)

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

      @@TheElevenBravo He uses atom.io

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

      I’m still struggling to find the video on your page

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

    Thanks so much. My mind was stuck when it comes to Flexbox now I am still getting it.

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

    This was so confusing until I watched your video. Thank you so much bro!

  • @stefan4800
    @stefan4800 6 ปีที่แล้ว +103

    This new approach with animations is really cool, I can imagine how much additional time it took, but it's really a new level. :)

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว +18

      Thank you :) I'm glad to see that it was appreciated. It took quite a while extra hehe

    • @dririswagner-storz
      @dririswagner-storz 5 ปีที่แล้ว +2

      It really was extremely helpful, thanks a lot for investing your time! Your lessons are really awesome and you are a great teacher!!

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

      The animations here provide true value. Thanks for your hard work

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

      Awesome illustration. 😊

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

      i guess it's kind of off topic but do anybody know a good website to stream new series online?

  • @RRS.Tripper
    @RRS.Tripper 5 ปีที่แล้ว +7

    This "Real Time View" representation is really helping a lot. I wish it were present in earlier videos as well :)

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

    I like how the way you teach the process; it is very efficient and easy to understand. I appreciated it alot, bro.

  • @oscaranillo7131
    @oscaranillo7131 5 ปีที่แล้ว

    This is one of the best tutorials on Flexbox that I have seen in tech channels in TH-cam! Definitely on my Top 3.

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

    I like how you also explained some of the HTML as well. As a beginner, its easier to get a better understanding of the layout.

  • @_https
    @_https 6 ปีที่แล้ว +3

    I've learned this on school there it was a bit sketchy, and now I know everything, thank you!

  • @proudofphotography2443
    @proudofphotography2443 6 ปีที่แล้ว +9

    Such Detailed Explanation. Bless you man

  • @manueljarrin4582
    @manueljarrin4582 6 ปีที่แล้ว

    I normally dont comment on tutorial videos, but let me say your tutorials are easy to follow, applicable and to the point, keep it up!

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

    This is by-far the best tutorial for flexbox, I could find on youtube. Thanks!

  • @AleksaCar-bk1rx
    @AleksaCar-bk1rx 5 ปีที่แล้ว

    Superb quality

  • @G3Number
    @G3Number 5 ปีที่แล้ว

    That real time view is SUPER helpful!!! Thanks!

  • @geraldfoushee
    @geraldfoushee 6 ปีที่แล้ว

    so far so good, i wanted to use CSS grid but decided to give this a try and yeah its pretty cool.
    now i just have to center the site and see if i can get my navigation working right "sticky nav"
    see you soon. thanks

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

    Thanks for the cool tutorial. That's a lot of valuable information in a very short amount of valuable time. Just great!

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

    I've been learning HTML, CSS and PHP for the last year. Love your tutorials they so easy to follow and understand, your a great teacher Daniel. Would it be possible for you to do a basic WYSIWYG tutorial?

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

    Css grid is amazing, the future of web design. Flex box takes the pain out of current day layouts. Both are fantastic and flex box has been around for a few years now and that is the reason it has better browser support. That’s buddy great video 👍

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

    I also love the animation! It vastly facilitates my understanding of your teaching. Thank you for putting so much effort in making these videos!

  • @johnnydriesen7575
    @johnnydriesen7575 6 ปีที่แล้ว +1

    Wow, great vid !
    Clear examples, including explaining and showing all possible parameter-values (even the missing ones in your editor ...)
    Super, super cool !
    Thanks mmtuts.

  • @Vincent-fs8ry
    @Vincent-fs8ry 6 ปีที่แล้ว +6

    This was the video many were waiting thanks!

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

    This is nice!

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

    Great video :)

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

    Brilliant way to explain the tutorial mate... Loved the animation helped me visualise the actual layout as you were explaining/tying it. Well done!!!!! I will watch this over & over until I get it in my thick scull :-)

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

    If i forgot how flex-box works my mind just automatically remembers you HAAHAH that just shows how awesome and precise your explanation is

  • @frownless
    @frownless 6 ปีที่แล้ว +3

    i love the animation it makes the teaching way easier

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

    Love this tutorial and everything that you do, Daniel! One piece of feedback, if it's helpful: five identical strings of Lorem Ipsum text are not the best choice for demonstrating the various styling options of flex box. While it would've taken a few more minutes to set up, I'd suggest for a future video to create several differently colored div blocks. Thanks again!

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

    Your videos are so amazing. Thank you so much for this quality of tutorial!

  • @Chan-uq2lo
    @Chan-uq2lo 3 ปีที่แล้ว

    You solve my problem thank you

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

    i loved this new approach

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

    Thank you very much!!!!!!!

  • @shabba194
    @shabba194 5 ปีที่แล้ว

    Thank you for all your videos, its helping a lot.

  • @hadeeskyu8655
    @hadeeskyu8655 6 ปีที่แล้ว +3

    awesome tutorial

  • @MsPrettyLate
    @MsPrettyLate 6 ปีที่แล้ว

    Thanks! I understand it a little better 😀

  • @davidmika
    @davidmika 6 ปีที่แล้ว +1

    Well done! I especially like the "Real Time View" you provide along the coding. May I ask you how this section is created/animated? Greetings from Munich, Germany.

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

    Thanks so much...

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

    feel like there should be a part 2 to this because im trying to use flexbox instead of float now and i dont feel like i got enough from this video be able to use it. like if there was an example video on flex boxes while you made a website that would be pretty helpful

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

      i dont feel that

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

    your video is helpful for me. thanks a lot.

  • @idrisajad7864
    @idrisajad7864 5 ปีที่แล้ว

    tnx a lot..this help how to using flex..

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

    Best tutorial i've watched so far. Well done m8.
    P.S Which laptop r u using?

  • @larseissink99
    @larseissink99 6 ปีที่แล้ว

    Learned a lot! Thanks! :)

  • @zahirabs1
    @zahirabs1 6 ปีที่แล้ว

    Awesome!!!!

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

    you were more chatty than i would like but atleast i learned so thank you

  • @FaisalJ662
    @FaisalJ662 6 ปีที่แล้ว

    i loved this method it's very easy and efficent to use thanks alot

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

    How can I choose the appropriate dimensions(width /height) for each template such as header, navigation, asid, main content and footer.

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

    I don't know why, maybe it's an update but for me the paragraph would just start a new line when it got to the edge of the container which means that it divided it's self into 4 text boxes across the screen instead of one going underneath.

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

    By the way, how did you use the real time use. Is that a sort of platform that I can download?

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

    Thank you for the video, can you please put the browser and the coding side by side please. So that you don't have to jump between the two. The tutorial was awesome thank you

  • @vitaliykolos
    @vitaliykolos 5 ปีที่แล้ว

    Finally someone was able to clearly explain what the heck this flexbox thing is all about. That said, using more examples - as opposed to words - would make your video even better ;)

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

    Flex-Box. Beautifully explained. Thanks.
    {2022-09-21}

  • @whatsmyname8194
    @whatsmyname8194 5 ปีที่แล้ว

    Thank you
    Just subscribed

  • @mikmik259
    @mikmik259 5 ปีที่แล้ว

    love the real time view

  • @farrukhkhamidov721
    @farrukhkhamidov721 6 ปีที่แล้ว

    Thank you for your videos. I just want to mention that the default value of align-items is stretch not flex-start. When I was doing practice I confused thinking flex-start is default as you said.

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

    What's the difference between using flex-basis and width

  • @sm1ley732
    @sm1ley732 5 ปีที่แล้ว

    you forgot to mention align-self property ,btw nice video!

  • @LinguistAna
    @LinguistAna 6 ปีที่แล้ว +1

    Hi MMtuts , I love your videos , I think you are so awesome. I subscribed to your patreon . The only question I have ,
    is whether you will maybe include some of the gitfiles to the code.

  • @preacher_r6s437
    @preacher_r6s437 5 ปีที่แล้ว

    If u use more of the realtimeviews then it would have been easier for beginners to learn it!:o rtv is a good way to show it

  • @الشاعر-أحمدرحيل
    @الشاعر-أحمدرحيل 4 ปีที่แล้ว

    thanks thanks thanks

  • @eypbal
    @eypbal 6 ปีที่แล้ว

    this is perfect.. thanks..

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

    201 episodes in and i feel I have learned more than what I learned in high school

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

    maybe with the browser, you could've assigned different colors to the text that correlates

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

    How can I get the real time view as yours?

  • @miguelmunoz6501
    @miguelmunoz6501 6 ปีที่แล้ว

    It would be a great example if you do a small website with flex box

  • @ParminderSingh-xn1qg
    @ParminderSingh-xn1qg 6 ปีที่แล้ว

    Thanks for the awesome tutorial man. Just curious which should i use CSS Grids Or Flexbox. Which one is better?

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว

      Recently I use CSS Grid to create entire page layouts for practice, but I think it is a great idea to mix Flexbox into it :) You don't have to stick with only one.

  • @TheLeontheking
    @TheLeontheking 6 ปีที่แล้ว

    that realtime preview is pretty cool! did you program it yourself, or did you use some software to do it?

  • @jillesoom3305
    @jillesoom3305 5 ปีที่แล้ว

    is there a way to align based on the content instead of the div box, i have pictures that dont fill the whole div box but i want them next to eachother

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

    I wonder what justify-items would do ? At @19.30 minutes ? Anyways great tutorial 😀

  • @alexkim-soo2845
    @alexkim-soo2845 2 ปีที่แล้ว

    162k web student were blessed by this video

  • @geraldfoushee
    @geraldfoushee 6 ปีที่แล้ว

    I used (float) in my flexbox project to have text wrap around my image. Was there a better way?
    500 px for the container means we design for cellphone first i assume?
    I don't really understand how to use the inspect tool in Google chrome, am i the only one?
    i did not see an option to design for an iphone 6.

  • @Daniel20030
    @Daniel20030 6 ปีที่แล้ว

    First!

  • @rembrandt702
    @rembrandt702 6 ปีที่แล้ว

    box-sizing is the way to go.

  • @ElDiariodeJavierSuarez
    @ElDiariodeJavierSuarez 5 ปีที่แล้ว

    Thanks for the video. BUT what If i want to create a navigation bar, with three 4 items? Let´s say I want to put the first 3 items all close together to the left, and the 4ºone I want to put it all to the end right of the nav bar.
    If I select the 4ºitem in CSS with a class (for example) and I put "align-items: flex-end" nothing happens. And If I select all the 4 items, then, well, I just can´t do what I want.
    How something like this would be approached?

    • @minimalistthoughts5557
      @minimalistthoughts5557 5 ปีที่แล้ว

      @Pauli Liatto just make a class for 4th item and than make float: right; that's it

  • @andreipredusel8248
    @andreipredusel8248 5 ปีที่แล้ว

    Hi, can you help me please? I have 3 items in a container and I want the first 2 to be positioned next to each other on the left side but the third one I want to be positioned on the right side using flexbox, i tried everything but i haven't found a solution so far.

  • @kaustinn6817
    @kaustinn6817 6 ปีที่แล้ว

    Do you think you can show how to make something fit the screen, because when i put the width and height at 100% there's still space.

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว

      It is because you haven't applied any reset styling to your website. I show how to do this in lesson nr 6 :)

  • @jeftheoficial
    @jeftheoficial 6 ปีที่แล้ว

    Well, I don't know what I'm doing it's wrong. After 10:21 isn't the same as yours, haven't this space in center and all the paragraphs is side by side

  • @babaganayahayaaminu5785
    @babaganayahayaaminu5785 6 ปีที่แล้ว

    Hello i would like to know the text/code editor you are using

  • @daniellovett4952
    @daniellovett4952 6 ปีที่แล้ว

    Hi Dan, i was wondering how you got that real time view up. is it a special programme? Great video as always ;)

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว

      Hehehe no I animated it in while editing the video :) using Adobe Premiere Pro

    • @daniellovett4952
      @daniellovett4952 6 ปีที่แล้ว

      Hehe, would be nice if someone created a programme showing that :)

  • @bainapallisankar1193
    @bainapallisankar1193 6 ปีที่แล้ว

    sir, please do live project using html and css as well responsive designing.

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว

      My previous project and the next video talks about responsive design :)

  • @geraldfoushee
    @geraldfoushee 6 ปีที่แล้ว

    how to put text beside an image with flexbox without using float?
    The div, with a div inside is still a concept i am not yet clear on.

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว

      If you want to place text next to an image, then you just need to create a small flex container, which then has the text and image inside of it. Here is an example:
      div {
      display: flex;
      flex-flow: row wrap;
      }
      Here is some text
      If you want multiple images and text after one-another, then just add more :)
      Here is some text
      Here is some text
      Here is some text
      Here is some text

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว

      The next episode that I upload on Monday will also have an example of how to do this :)

    • @geraldfoushee
      @geraldfoushee 6 ปีที่แล้ว

      mmtuts did you say you wanted to see some of the projects we had made? Seeing our screw ups might give you more onsite on our knowledge base and how we understand.
      I am trying JavaScript also and although I understand it.... I still can't always do it or figure out what to do with it or why I need some of the things it can do. I figure that's because I really dont know it well enough yet..
      Feel better soon!

  • @outkasttarot2004
    @outkasttarot2004 6 ปีที่แล้ว

    What is this good for I'm new at web development

    • @Dani_Krossing
      @Dani_Krossing  6 ปีที่แล้ว +1

      It essentially replaces "float" in CSS, and allow us to customize HTML elements further.

    • @amarsinghania7080
      @amarsinghania7080 6 ปีที่แล้ว

      You can make navbars with it...make a unordered list and apply and done..all li elements will line up next to each other without dealing with floats and clear.
      Anywhere that you need boxes aligned next to each other. Have a bunch of divs inside a parent div and give the parent div a display of flex and you have a windows 8/10 style tiles on your website

  • @mithrandir2171
    @mithrandir2171 5 ปีที่แล้ว

    14:00

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

    I used to think flex box was cool until I found out the hard way the ADA compliance issues using it.

  • @hassankrisht718
    @hassankrisht718 5 ปีที่แล้ว

    cool tool but it is complicated a little bit.

  • @kanuwebmedia8250
    @kanuwebmedia8250 6 ปีที่แล้ว

    please sir make a SVG animation toturail please sir

  • @theSwift715
    @theSwift715 6 ปีที่แล้ว

    After watching this video go to flexboxfroggy.com/ for extra practice
    Your welcome and good luck!

  • @JV-nx8xm
    @JV-nx8xm 6 ปีที่แล้ว

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

    I think i am going to wix.com...

  • @bencottrell6771
    @bencottrell6771 5 ปีที่แล้ว

    Should this be #21?

  • @anhnguyendavidson3122
    @anhnguyendavidson3122 6 ปีที่แล้ว

    clicked on ur vid cuz i think ur cute

  • @mindbomb5862
    @mindbomb5862 5 ปีที่แล้ว

    I'm sorry but why do you always have to sing the last word of the end of every sentence?

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

    I just realized that when I generated a random paragraph, the first sentence was the same as yours.

    • @mcbr3b
      @mcbr3b 5 ปีที่แล้ว

      lol

  • @anandshete9170
    @anandshete9170 5 ปีที่แล้ว

    any indian here?
    Don't worry you are not alone...

  • @miguelmunoz6501
    @miguelmunoz6501 6 ปีที่แล้ว

    It would be a great example if you do a small website with flex box