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

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 130

  • @Dani_Krossing
    @Dani_Krossing  Рік тому +1

    NEW UPDATED 2023 COURSE AVAILABLE! 🙂
    You can find it here: ua-cam.com/video/v8jDnBYc0bs/v-deo.html&ab_channel=DaniKrossing

  • @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

  • @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.

  • @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?

  • @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

  • @RRS.Tripper
    @RRS.Tripper 4 роки тому +7

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

  • @vighnesh153
    @vighnesh153 6 років тому +2

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

  • @_https
    @_https 6 років тому +3

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

  • @oscaranillo7131
    @oscaranillo7131 5 років тому

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

  • @cocohairextension6629
    @cocohairextension6629 3 роки тому

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

  • @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!

  • @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 👍

  • @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.

  • @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!

  • @coffeecodeweb
    @coffeecodeweb 3 роки тому

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

  • @proudofphotography2443
    @proudofphotography2443 6 років тому +9

    Such Detailed Explanation. Bless you man

  • @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!

  • @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?

  • @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!

  • @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 :-)

  • @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

  • @frownless
    @frownless 6 років тому +3

    i love the animation it makes the teaching way easier

  • @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.

  • @G3Number
    @G3Number 5 років тому

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

  • @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

  • @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!

  • @danieldrntss
    @danieldrntss 6 років тому +2

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

  • @AleksaCar-bk1rx
    @AleksaCar-bk1rx 5 років тому

    Superb quality

  • @ameyapatil1139
    @ameyapatil1139 5 років тому +2

    i loved this new approach

  • @hadeeskyu8655
    @hadeeskyu8655 6 років тому +3

    awesome tutorial

  • @worldclasscode1847
    @worldclasscode1847 2 роки тому

    Great video :)

  • @loosabway3400
    @loosabway3400 4 роки тому

    This is nice!

  • @LearnEnglishByCartoon
    @LearnEnglishByCartoon 6 років тому +4

    your video is helpful for me. thanks a lot.

  • @MsPrettyLate
    @MsPrettyLate 5 років тому

    Thanks! I understand it a little better 😀

  • @Chan-uq2lo
    @Chan-uq2lo 3 роки тому

    You solve my problem thank you

  • @BlackPenguinStudios1972
    @BlackPenguinStudios1972 3 роки тому

    Thank you very much!!!!!!!

  • @shabba194
    @shabba194 5 років тому

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

  • @idrisajad7864
    @idrisajad7864 5 років тому

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

  • @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.

  • @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

  • @mikmik259
    @mikmik259 5 років тому

    love the real time view

  • @FaisalJ662
    @FaisalJ662 6 років тому

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

  • @adonishomefitness
    @adonishomefitness 4 роки тому

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

  • @argenisaguilar9045
    @argenisaguilar9045 3 роки тому

    Thanks so much...

  • @safakareem7339
    @safakareem7339 4 роки тому

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

  • @larseissink99
    @larseissink99 6 років тому

    Learned a lot! Thanks! :)

  • @zahirabs1
    @zahirabs1 6 років тому

    Awesome!!!!

  • @sm1ley732
    @sm1ley732 5 років тому

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

  • @gloryths
    @gloryths 4 роки тому

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

  • @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 ;)

  • @marvinseverino6791
    @marvinseverino6791 3 роки тому

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

  • @whatsmyname8194
    @whatsmyname8194 5 років тому

    Thank you
    Just subscribed

  • @giwrgosiwannidis4684
    @giwrgosiwannidis4684 4 роки тому

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

  • @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.

  • @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.

  • @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.

  • @fahd2372
    @fahd2372 3 роки тому

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

  • @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

  • @eypbal
    @eypbal 6 років тому

    this is perfect.. thanks..

  • @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.

  • @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

  • @miguelmunoz6501
    @miguelmunoz6501 6 років тому

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

  • @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

  • @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.

  • @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

  • @alexkim-soo2845
    @alexkim-soo2845 2 роки тому

    162k web student were blessed by this video

  • @adalaw3129
    @adalaw3129 4 роки тому

    How can I get the real time view as yours?

  • @rembrandt702
    @rembrandt702 6 років тому

    box-sizing is the way to go.

  • @TheLeontheking
    @TheLeontheking 6 років тому

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

  • @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 :)

  • @peytonhayes4123
    @peytonhayes4123 4 роки тому

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

  • @bhavarkumavat3202
    @bhavarkumavat3202 4 роки тому

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

  • @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!

  • @babaganayahayaaminu5785
    @babaganayahayaaminu5785 6 років тому

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

  • @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.

  • @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 :)

  • @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 :)

  • @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

  • @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

  • @toscodav
    @toscodav 4 роки тому

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

  • @theSwift715
    @theSwift715 6 років тому

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

  • @kanuwebmedia8250
    @kanuwebmedia8250 6 років тому

    please sir make a SVG animation toturail please sir

  • @hassankrisht718
    @hassankrisht718 5 років тому

    cool tool but it is complicated a little bit.

  • @bencottrell6771
    @bencottrell6771 5 років тому

    Should this be #21?

  • @JV-nx8xm
    @JV-nx8xm 6 років тому

  • @mithrandir2171
    @mithrandir2171 5 років тому

    14:00

  • @Daniel20030
    @Daniel20030 6 років тому

    First!

  • @tonikaramanliev884
    @tonikaramanliev884 4 роки тому

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

  • @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.

  • @anandshete9170
    @anandshete9170 5 років тому

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

  • @Pareshbpatel
    @Pareshbpatel 2 роки тому

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

  • @miguelmunoz6501
    @miguelmunoz6501 6 років тому

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