The Only CSS Layout Guide You'll Ever Need

Поделиться
HTML-код
  • Опубликовано: 5 сен 2023
  • CSS gets real messy but people insist on continually approach css with a chaotic approach. In this video, I go through a step by step process of how you should approach css layouts, an exact strict guide on how you can approach it without leading to css chaos. As someone who experienced a lot of chaotic and poorly maintained css codebases, this guide will truly help you find a good process for laying out your entire website
    Links:
    piratefsh.github.io/how-to/20...
    dev.to/ziizium/thinking-in-bo...
    stackoverflow.com/questions/3...
    -----------
    Subscribe to my channel: / @edrohdev
    for more web development
    -----------
    Who is EdRoh? I'm a lead engineer for a publicly traded company and have been developing for a decade now.
    I'm here to provide you in-depth tutorials by simplifying difficult concepts and more importantly, getting your hands dirty by building production level projects with ease to impress your future/current employer or clients.
  • НаукаНаука

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

  • @faithwithmandy
    @faithwithmandy Месяц назад +24

    For someone that knows NOTHING about ANYTHING YOU'RE TALKING ABOUT, I was able to follow and pick up a few things. I'm interested in coding and building a website but I have no clue whatsoever. But THE FACT that I could understand what you're saying, says a lot about your teaching skills. I'm impressed.

  • @joelpww
    @joelpww 2 месяца назад +88

    I was promised a pikachu. Thoroughly disappointed

  • @adymorris7347
    @adymorris7347 2 месяца назад +18

    Finally....a CSS Layout Guide I understand! Thank you, Sir.

  • @Brezanova
    @Brezanova 4 месяца назад +17

    Finally a very clear and concise explanation for someone staring at a blank page trying to figure this out lol Thank you!

  • @user-or9ec6tg1k
    @user-or9ec6tg1k 4 месяца назад +11

    Thinking in boxes is what I found out on my own, I had so much trouble with layouts until that specific point where I started to think in boxes.. It made my life easier! I wish more and more people who are in this just started out their dev journey knows about it.

    • @MohamedAhmed-mp6qr
      @MohamedAhmed-mp6qr Месяц назад +2

      me too, i always think in boxes like a can already the see the box model of any tag or div. i already know where the margin,padding and positions are taking place. this helps me understand what i am working with

  • @edwardnapatalio853
    @edwardnapatalio853 9 месяцев назад +130

    Epic thumbnail 😂

  • @argh5665
    @argh5665 Месяц назад +7

    00:00 Part 1 - thinking of css
    3:01 Part 2 - thinking of flexbox
    9:59 Part 3 - thinking of grid

  • @Squatrecords
    @Squatrecords 4 месяца назад +11

    Everything you done in this video is absolutely amazing! thanks for the work you placed in explaining and demonstrating so well!

  • @kbonline5473
    @kbonline5473 4 месяца назад +4

    This is the best css tutorial to understand the fundamentals of layout

  • @rajshailey92
    @rajshailey92 9 месяцев назад +11

    This was an absolute gem of a video. Thank you for sharing such fundamental concepts.💖

  • @kidyoshi007
    @kidyoshi007 Месяц назад +1

    THIS IS THE BEST CSS VIDEO I HAVE EVER SEEN IN MY LIFE !!! this the the most perfect video explanation of what CSS is! BEAUTIFUL

  • @metalrunsit
    @metalrunsit Месяц назад +1

    You're a really great speaker. Most sensible and direct too, you're amazing.

  • @chuk_udi
    @chuk_udi 11 дней назад

    The way you design your classes for reusability is really smart and opened my eyes to a way more efficient way of writing css.

  • @Chaeboll
    @Chaeboll 2 месяца назад +23

    the extension name is "google pesticide"

    • @tmpmail
      @tmpmail 22 дня назад

      on any browser extension marketplace, just write "pesticide"

    • @jasonsiew23
      @jasonsiew23 7 дней назад

      Omg thank you so much for posting this!

  • @DrWalterJitsu
    @DrWalterJitsu 9 месяцев назад +2

    great video
    this is probably my favorite software engineering channel

  • @maikeltoxix1716
    @maikeltoxix1716 4 дня назад

    Thank alot! im just starting programming a website, and this absolutely helped me think in better structuring

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

    Saved a ton of time! n thanks for the Smart Philosophy of using minimum to do maximum.. thus not getting overwhelmed

  • @dc33333
    @dc33333 9 месяцев назад +1

    Good video Ed!!! Great speaker and video production.

  • @lilyshevchenko7048
    @lilyshevchenko7048 Месяц назад +1

    Did not expect to get awesome laughs, as well as content. You're hilarious. Thanks :D

  • @FrancoisLampron
    @FrancoisLampron 2 месяца назад +1

    Thank you so much for concise and funny explanations !

  • @jikaikas
    @jikaikas 5 месяцев назад +2

    ur the only youtuber who Im glad I learned css from, everyone teaches it so bad so much fluff you get right into it

  • @FrancoisLampron
    @FrancoisLampron 2 месяца назад +1

    Thank you so much for such concise and funny explanations!

  • @jagannathps
    @jagannathps 2 месяца назад +1

    this is golden youtube content

  • @ondrej1031
    @ondrej1031 5 месяцев назад

    Crazy value! Thank you for this!

  • @khari_baat
    @khari_baat 16 дней назад

    Incredibly well explained!

  • @darkastically
    @darkastically 3 месяца назад +1

    Thank you!! I'm a backend dev learning CSS and javascript for "fun". You saved my a**.

  • @cryptofelix5242
    @cryptofelix5242 Месяц назад

    This video got me a lot of things ordered that I knew already!

  • @junior.santana
    @junior.santana 18 дней назад

    That was incredibly well explained, thanks. As you said there are so many properties, especially for grid, and I've tried to learn them one-by-one but the best approach is what you did, studying each scenario and purpose. Also, I never heard of flex-basis and will definitely start using it, I had some funny issues with flexbox+width recently, probably should be using this property instead

  • @dc33333
    @dc33333 9 месяцев назад +2

    this is useful. Thanks Ed!!!

  • @yowchico
    @yowchico 6 месяцев назад +1

    nice editting, well said explanation 👏

  • @hardikganatra2453
    @hardikganatra2453 9 месяцев назад +1

    Great video man !!!

  • @xsilverx1198
    @xsilverx1198 3 месяца назад

    This was very helpful thank you!

  • @ALStarsSprinkle
    @ALStarsSprinkle 21 день назад

    Important stuff, thanks. That flow talk at around 5:20 I would call ’structural layout’, getting a little closer to the conceptual core.

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

    Theeeeese are great videos. You can also make more videos relating to what tech stack we should use, Like Nextjs, vs MERN, or pages vs app router, etc, etc

  • @jezza9774
    @jezza9774 9 месяцев назад +3

    Man I feel old seeing xanga, early 2000s in middle school vibes lmao great explanation video, helped me understand positioning a lot better as a visual learner 😅

  • @antonio_carvalho
    @antonio_carvalho 4 месяца назад +1

    Excellent video! Here's a tip: use a muffler on your microphone to reduce pops from words like "Pixel Perfect".

  • @mhhutton
    @mhhutton 4 месяца назад

    This is great. Thank you.

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

    Thank you for this video!

  • @user-mi8ms5zc7d
    @user-mi8ms5zc7d 2 месяца назад

    Great video! thank you!

  • @mon0theist_tv
    @mon0theist_tv 2 месяца назад +3

    Anyone got the Chrome extension at 1:59? EDIT: Nvm it's called Pesticide
    4:16 that looks like the identical layout of Monarch Money

  • @deldridg
    @deldridg 2 месяца назад +1

    Lovely work and thanks mate. Very helpful and has fast-tracked a stage of my project very effectively. Cheers from Sydney - Dave

  • @JawsoneJason
    @JawsoneJason 3 месяца назад +1

    There are plenty of cases where flex and flex-wrap are the choice. The question is: do you need to align things in one dimension or two?

  • @GAlvarado
    @GAlvarado 4 месяца назад

    Thank you!

  • @austin4855
    @austin4855 Месяц назад

    great lesson, ty! and thumbnail was so good i HAD to click.

  • @metaculos6068
    @metaculos6068 Месяц назад

    i owe you my life King

  • @infini667
    @infini667 Месяц назад

    Thank you for the video! It's very good. I just wanted to suggest that you use a pop filter :)

  • @go_better
    @go_better 4 месяца назад

    Thanks a lot

  • @MrAviv555
    @MrAviv555 Месяц назад

    Amazing video!!
    Does anybody know the name of the chrome extension he chooses? I've been looking for something like that for a while now😅❤

  • @anjaneekumarsingh1017
    @anjaneekumarsingh1017 2 месяца назад +1

    what is that chrome extension which shows boxes around elements ?

  • @fares.abuali
    @fares.abuali 2 месяца назад

    Thanks!

  • @gumbilicious1
    @gumbilicious1 Месяц назад

    I hate messing with css, that is why I am here

  • @willbarrett6204
    @willbarrett6204 4 месяца назад

    Is a container just like or ? I can't seem to find any documentation on it.

  • @GATLINGER64
    @GATLINGER64 13 дней назад

    That was usefull !!!

  • @Tafa-ul
    @Tafa-ul Месяц назад +1

    can anyone tell me what extension he was using when he was showing youtube box layouts

  • @Omar-dp8ob
    @Omar-dp8ob 2 месяца назад +3

    Is this vanilla CSS ?

  • @davidshanahan6081
    @davidshanahan6081 Месяц назад

    When you reference align-content at 7:08, I think you have confused it for align-items. Align-content is used when a row has wrapped.

  • @evil-resident
    @evil-resident Месяц назад +1

    what is the extension u used to see the layout of youtube?

  • @clearthinking5441
    @clearthinking5441 3 месяца назад

    is it normal to use css grid for the layout and then flexbox for the individual items within the grid?

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

    What was the chrome extension you showed in your video that reveals the boxes?

  • @bhoomisharma3802
    @bhoomisharma3802 Месяц назад

    I'm finding this channel right before my practical examinations..😢 on web development...😂 Are you kidding me! 😫😫 My project is trash as it is ..😫😫😫

  • @FurqanHun
    @FurqanHun Месяц назад

    i understood flex easily i do use it tho didnt knew about it in detail, bu yes grid is terrifying would probably take more to to get familiar with

  • @bambinoesu
    @bambinoesu 11 дней назад

    It's good practice to use both, but I prefer grid

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

    great video

  • @mitetoOoOoO
    @mitetoOoOoO 4 месяца назад +2

    I came for Pikachu. But learned a lot

  • @yuguanghui4011
    @yuguanghui4011 6 месяцев назад

    awesome video

  • @Andersonn.C
    @Andersonn.C 3 месяца назад

    what a gold video

  • @munzutai
    @munzutai 5 месяцев назад +1

    These are great explanations but please consider getting a pop filter. My subwoofer is popping like crazy.

  • @blubblubber9460
    @blubblubber9460 4 месяца назад

    Great!

  • @shaileshchotoe
    @shaileshchotoe 10 дней назад

    uhmm correct me if im wrong but flex wrap fixes everything u needed to treat it like a grid so grid isn't necessary anymore right?

  • @user-hg4sv8ms6n
    @user-hg4sv8ms6n 2 месяца назад

    Wowww what do you use for your charts?

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

    what is that chrome extension at the beginning?

  • @anujmourya18_
    @anujmourya18_ 2 месяца назад +1

    2:23 which extension

  • @danieledun7977
    @danieledun7977 Месяц назад

    Which app do you use for prototying your layout. I see an app in the background

  • @vmGrymm
    @vmGrymm 4 месяца назад

    The Only CSS Layout Guide You'll Ever Need

  • @khantsithu4383
    @khantsithu4383 9 месяцев назад +3

    What's the extension for box model?

    • @theturtledave
      @theturtledave 7 месяцев назад +3

      It shows when he hovers. It's called Google Pesticide

  • @user-iq5em8qe1w
    @user-iq5em8qe1w Месяц назад

    thanks for the video. Anyone, what's the Chrome tool to see the box display architecture? thanks, bye .

  • @samriddhi6129
    @samriddhi6129 Месяц назад +1

    what browser extension is that?

  • @smailsafire9593
    @smailsafire9593 Месяц назад

    Whats the name of the extension to see all boxes?

  • @lostmotion18
    @lostmotion18 Месяц назад +1

    "Only use float if you enjoy suffering" lmao

  • @uchihawa
    @uchihawa 10 дней назад

    name of the extension for container boxes?

  • @weedmanjunior
    @weedmanjunior Месяц назад

    bravo

  • @nkthehustler
    @nkthehustler Месяц назад

    Love from india

  • @branypoo
    @branypoo 4 месяца назад

    Holy crap XANGA

  • @lokeshr9794
    @lokeshr9794 3 месяца назад +3

    Where is my Pikachu???

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

  • @TimAyro
    @TimAyro Месяц назад +2

    Me watching this video with my css filled with floats...

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

    Liked Subscribed Commented🔥🔥

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

    Niiiiice

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

    ❤❤❤❤❤❤

  • @benja303
    @benja303 Месяц назад +1

    - In Css you should be thinking in Boxes
    - Understand
    Margin
    Border
    Padding
    Content
    - Every element has a parent child relationship
    - Pixels and Floats are outdated

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

    the thumbnail is so me.

  • @Dragonmastur24
    @Dragonmastur24 4 месяца назад

    R.I.P. Lofi girl

  • @hafizhuseynov6055
    @hafizhuseynov6055 5 дней назад

    Damn you look like Steven He, Emoooootional Damage 😂

  • @azeezpebi
    @azeezpebi 16 дней назад

    EdRoh do you teach people front end. I'm interested pls get back to me asap thanks.

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

    I’m old enough to have grown up using Netscape 😂

  • @Shrimphat
    @Shrimphat 4 месяца назад

    Steven he?

  • @scopaf1662
    @scopaf1662 5 дней назад

    WHAT ARE YOU TALKING ABOUT WHO IMMEDIATELY REACHES FOR ABSOLUTE POSITIONING

  • @NadidLinchestein
    @NadidLinchestein 3 месяца назад

    That was a interesting forum, with $100 Billion dollars Alat can definitely make Saudi Arabia a hub for Advanced Technology and Innovation

  • @motion69
    @motion69 Месяц назад

    Am I in 2000?

  • @cd92606
    @cd92606 29 дней назад

    Great video but bro... you need a pop filter on that mic. (Sound-sensitive autistics like me are driven crazy by plosives.)