Responsive Flexbox Layout Page in 4 Minutes | Flexbox Tutorial

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

КОМЕНТАРІ • 140

  • @WHATMrGK
    @WHATMrGK 3 роки тому +83

    This is literally the only video that shows you how to actually build a functional web layout, all other videos just show you the commands. Thank you!

    • @AberrahimCoder
      @AberrahimCoder Рік тому +3

      @@akhan3330 flex-grow: 1 , it makes the item grow to take the additional space

    • @jigneshnakrani9585
      @jigneshnakrani9585 Рік тому +4

      This is not a way to teach.... doesn't explain any basics of what flex means

  • @adaml1203
    @adaml1203 9 місяців тому +6

    Thank you for producing this. A little constructive criticism. It would be more helpful to newbie’s if you explained what and why you chose these tags/css values as opposed to us just watching the code be written. You could have just as well posted the html and css in its finished state for us to consume and it would have had the same effect. Those that understand this stuff would be intrigued, and those that don’t, would still be scratching their head.

    • @csscoder8892
      @csscoder8892  9 місяців тому +1

      Thanks for the feedback. It was created days earlier when we were new to UA-cam, in future we will definitely consider this.

  • @ashhalverooo9471
    @ashhalverooo9471 Рік тому +2

    Thank you bro, because of you, my assignment is done

  • @FallenSmile29
    @FallenSmile29 2 роки тому +7

    Amazing ! Nice way to practise your understanding of flexbox. Thank you. I will definetely watch your other videos on channel.

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

      Thank you

    • @Mr.man712
      @Mr.man712 Рік тому

      @@akhan3330 late but the numerical value of flex determins how much it will grow compared to others unless specified. It goes flex grow, flex shrink and flex basis with " flex" being the short hand for all three. I assume the 100% is for the basis? Im new to this tho

  • @Dranzer10HD
    @Dranzer10HD 4 роки тому +9

    thanks for the emmet abbreviation :)) didn't know about it

  • @appronblue8421
    @appronblue8421 3 роки тому +8

    It doesn't work, could you please share a sandbox link with the cod in it?

  • @nextrealm
    @nextrealm Рік тому +4

    leave the source code in the description section mate. It will be really helpful to save it for later also so that i can revise.

  • @trevorarmstrong6641
    @trevorarmstrong6641 3 роки тому +13

    use your words my g speak to us

  • @sc00b55
    @sc00b55 3 роки тому +1

    Got a web design assignment due you really helped bro

    • @Mike-kz4cy
      @Mike-kz4cy 2 роки тому

      Did it work bro?

    • @Mike-kz4cy
      @Mike-kz4cy 2 роки тому

      I typed everything on html exactly as he did and nothing is showing up

  • @shadmansudipto7287
    @shadmansudipto7287 Місяць тому +2

    Next time, please provide the code in a github repo.

  • @InnovatorsTales
    @InnovatorsTales 3 роки тому +7

    wow just wow, subscribed immediately

    • @mina399
      @mina399 3 роки тому +1

      my thoughts exactly :P

  • @zomssingh8744
    @zomssingh8744 3 роки тому +2

    Layout is good but at the end it is confusing. So please start explaining the things

  • @lienbarraquio1104
    @lienbarraquio1104 2 роки тому +3

    How do you put images, text w/links inside those boxes?

  • @sadaffarhan6751
    @sadaffarhan6751 3 роки тому +5

    Who else dislike this

  • @carlosarangovelasquez7101
    @carlosarangovelasquez7101 4 роки тому +6

    how can someone dislike this? brilliant!

    • @csscoder8892
      @csscoder8892  4 роки тому +1

      Thanks Brother for appreciation

    • @6BEEP9
      @6BEEP9 3 роки тому +3

      Because it doesn't go in depth, nothing is explained, just shown. I know there are different types of learning and this might work for people, but most people like it being explained.

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

      Well Probably the same reason i did, annoying music & unless you have a really good connection the text appears at too low a res to be able to read and no voiceover explanation, so ends up being just a useless video with really annoying music, no offense just giving a blunt answer.

  • @decfathani1144
    @decfathani1144 4 роки тому +7

    you're using flex shorthand for a '.main'. when i change a shorthand 'flex' to flex-grow for a '.main, a page doesn't align correctly as i using a 'flex' just like it's show on the video. as i know flex is a shorthand for a flex-grow, flex-shrink, and flex-basis

  • @andrzejvlasov1689
    @andrzejvlasov1689 3 роки тому +2

    Lots of magic in this video :)

  • @annaboegh9910
    @annaboegh9910 2 роки тому +2

    Thank you so much! do you have a tip on how to get the white border away so it fills the screen 100% in all directions? Thanks so much!

    • @khanayan-v7z
      @khanayan-v7z 2 роки тому

      @Gamer Dahman And can you tell me that why I have some overflowing X white space on my responsive layout?

  • @whitecannon2185
    @whitecannon2185 5 місяців тому

    This content helped me lots!!!! Thank you

  • @LodhiCreates
    @LodhiCreates 3 місяці тому

    How to fix multiple elements in flex layout like heading paragraph and images

  • @RogerHolden
    @RogerHolden 9 місяців тому +1

    I know it's a quick demo, but you shouldn't have multiple H1 tags in the same page.

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

    How your two asides are places side

  • @chanhpham4576
    @chanhpham4576 4 роки тому +2

    Can I use .wrapper > div instead of .wrapper > * if I just use div tag inside wrapper ?

    • @AnilMakkar9
      @AnilMakkar9 4 роки тому +3

      Yes, it can be done only if you are pointing to direct div elements of wrapper class.

  • @oasteadomnuluibucovina
    @oasteadomnuluibucovina 3 роки тому +5

    It doesn t work

  • @romansarmientogomez2372
    @romansarmientogomez2372 4 роки тому +3

    Sos groso, Sabelo!!!!!

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

    That's more helpful! Subscribed immediately

  • @HalleKebede
    @HalleKebede 4 роки тому +2

    i was almost done but "order " won't work. i can't get aside 1 and aside 2 to align on left and right column

    • @mathildastorm2562
      @mathildastorm2562 4 роки тому +1

      I had the same problem,
      in css .main i missed it should be:
      flex: 3;
      and NOT
      order: 3;
      hehe..

    • @josejimenezastorga1449
      @josejimenezastorga1449 3 роки тому +1

      Maybe is too late, but you should check out the wrapper section, it had to have "display: flex;" to worked correctly.

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

      same problem here

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

      I cant either, did you solve it?? Im gonna lose it over responsive flexbox

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

    Please help, how can I make that aside1 will jump above main instead under when window bocomes smaller? Thank you.

  • @florenciagrasso6109
    @florenciagrasso6109 4 роки тому +5

    What does .wrapper > * means?

    • @csscoder8892
      @csscoder8892  4 роки тому +11

      * means all elements, so all elements in .wrapper class have zero margin and padding

    • @ellsonmendesYT
      @ellsonmendesYT 3 роки тому +4

      select any direct children of element with class wrapper

    • @nanakwesiasante904
      @nanakwesiasante904 Рік тому

      I tried .wrapper>* and nothing happened can someone please help me using vscode

  • @peeyar2000
    @peeyar2000 3 роки тому +1

    How can I stack like header, aside1, aside 2 , main and footer when we decrease the size (mobile or tab) ? On web, it should be like the above one (header, left, main, right, footer at the bottom.)

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

    its good example but you fixed height of header and footer and even main, which is not goo way to design layout.

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

    Can you explain also then it will be very helpful.
    Thanks 😊

  • @BeingDeveloperWithAB
    @BeingDeveloperWithAB Рік тому

    What is the VS code theme are you using

  • @RighteousNacho
    @RighteousNacho 2 роки тому +1

    Sigh...commentary would be nice.

  • @lgoogleame
    @lgoogleame 11 місяців тому

    How to hide one element when the screen is for mobile? instrad of showing 5 divs only show 4 for example. But when the screen is for a desktop i want to show 5 divs

  • @mfo6943
    @mfo6943 4 роки тому +2

    Hi thanx for dropiing this video can u also make video on explaining the role of pseudo elements or u can suggest me by providin link in comment. Btw am your one of follower from your IG

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

      Thanks Mate for reaching out, Hit me with a DM on Instagram

  • @sadaffarhan6751
    @sadaffarhan6751 3 роки тому +1

    This is awesome sir

  • @Mr.man712
    @Mr.man712 Рік тому +1

    Whoa had no idea you could do a peroid as a shortcut for faster coding.

    • @TheHumanistX
      @TheHumanistX Рік тому

      I thought maybe they had some nice extension... nope! Works in my VSCode! This is gonna be such a time saver!!

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

    R.I.P my right ear where I had a headphone at the start of this video

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

    there is a lot of things here that seem weird to me, first of all what is that "aside" tag, I have never seen those before. you use "wrapper" instead of "container"? I thought wrappers are for child elements inside a big container?

    • @Dawid-lb8fe
      @Dawid-lb8fe 3 роки тому +3

      It's just a class, the name of it doesn't matter :)

    • @roctanweer2265
      @roctanweer2265 3 роки тому +2

      Aside is one of the semantic tags in html
      It's new way to write html doc

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

    when i am setting flex to a item in container its disappearing

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

    I copied whatever you said but i don't get the layout. 😞

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

      @Vasu Devan Soory to hear that, the video is 2 3 years old so kindly check it out again with more keen observation and check out the comments box, may be other also face the same issue as you

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

    thank you!

  • @TheLearner17
    @TheLearner17 3 місяці тому

    Bro try to explain the subject and video, This video only use for copy righters

  • @robinrapbor463
    @robinrapbor463 9 місяців тому +1

    Ufff atleast give with the explanation rather than the boring disturbing background music

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

    Brilliant Idea. But I didn't got the same order. Could anyone help please ?

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

      I solved it. Notice for aside part there are 2 classes aside and aside1 ;)

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

    Great, release more videos please, Thanks

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

    Thank you! Nice!

  • @abhinavsingh-zc2hk
    @abhinavsingh-zc2hk 3 роки тому +1

    don't use pix in 2020 :(

  • @codecrumbs
    @codecrumbs 4 роки тому +2

    Great video buddy

  • @Mike-kz4cy
    @Mike-kz4cy 2 роки тому

    Hey there bro,I just typed exactly as you typed the html and it's blank

    • @csscoder8892
      @csscoder8892  2 роки тому +1

      U have missed something

    • @Mike-kz4cy
      @Mike-kz4cy 2 роки тому

      @@csscoder8892 cool,I will check it out, thanks for replying.

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

    Why the aside class have to be class=aside aside1 why not just aside1?

  • @dhruvrajsinhjadeja-vfxarti3085
    @dhruvrajsinhjadeja-vfxarti3085 2 роки тому +1

    superb :)

  • @John-wx3zn
    @John-wx3zn 3 роки тому

    Thank you

  • @thechoosen4240
    @thechoosen4240 Рік тому

    Good job bro, JESUS IS COMING BACK VERY SOON; WATCH AND PREPARE

  • @matthewtang6806
    @matthewtang6806 4 роки тому +1

    Perfect

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

    is it mobile first?

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

      Desktop first

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

      @@csscoder8892 could you please make a video about mobile first?

  • @Kamil505
    @Kamil505 Рік тому

    is the source code on github?

  • @waqasalam_007
    @waqasalam_007 Рік тому

    Add imgand content then it goes unresponsive

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

    muito bom, me salvou (y)

  • @DavidG-vo4vx
    @DavidG-vo4vx 4 роки тому

    Why isn't the header and article on the same row?

    • @AkshayKumarTK
      @AkshayKumarTK 3 роки тому +1

      Because header has a flex-grow of 1 and flex-basis of 100% so it is taking up the whole screen

  • @ali-celebi
    @ali-celebi 3 роки тому

    Brilliant!

  • @I_am_very_lucky.
    @I_am_very_lucky. 3 місяці тому

    It doesn't work properly waste my time😢

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

    Thanx bro

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

    yoo in android it didn't work

    • @csscoder8892
      @csscoder8892  Рік тому

      I respect your opinion, but it is a web based layout

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

      @@csscoder8892 it allredy work for me, i just forget to apply the thing insaide the sorry, and thanks

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

      Pleasure, you got it.

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

    Mu main kya dahi jma rakha hai kya🤣🤣

  • @NoobPro-sh8qo
    @NoobPro-sh8qo Рік тому

    Thanksss

  • @jaipe5
    @jaipe5 Рік тому

    Genial. Un fuerte abrazo.

  • @nickx8951
    @nickx8951 Рік тому

    @media all in does not work

  • @emilhuseyn6158
    @emilhuseyn6158 Рік тому

    Very short

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

    awesome

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

    Nice

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

    Excelente! 💪

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

    bhai kuch samjha bhi deta

  • @Gaamaa-oz5ef2lf3n
    @Gaamaa-oz5ef2lf3n 7 місяців тому +1

    Total waste without speech.
    Try your best next time with speech.

    • @csscoder8892
      @csscoder8892  6 місяців тому

      Sure

    • @csscoder8892
      @csscoder8892  6 місяців тому

      Thank you for feedback

    • @Gaamaa-oz5ef2lf3n
      @Gaamaa-oz5ef2lf3n 6 місяців тому

      @@csscoder8892 All your videos are wonderful, but think of us the beginners.
      Wavering thoughts, no focus at one place.
      Too much of videos calling us to watch.
      At this situation, when your wonderful video has no speech to hold us on the subject. We may skip it...
      So please add your voice however it sounds, no issue.

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

    cool

  • @TheLearner17
    @TheLearner17 3 місяці тому

    No use for this video for actual learners

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

    Nice cancer intro