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.
  • НаукаНаука

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

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

    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.

  • @zerken7220
    @zerken7220 9 дней назад +3

    I just started coding and I was struggling with understanding CSS. This is some God sent content broo

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

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

  • @Squatrecords
    @Squatrecords 5 месяцев назад +12

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

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

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

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

    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

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

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

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

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

  • @edwardnapatalio853
    @edwardnapatalio853 10 месяцев назад +147

    Epic thumbnail 😂

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

    great video
    this is probably my favorite software engineering channel

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

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

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

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

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

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

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

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

  • @user-or9ec6tg1k
    @user-or9ec6tg1k 5 месяцев назад +14

    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 месяца назад +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

  • @Brezanova
    @Brezanova 5 месяцев назад +19

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

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

    Crazy value! Thank you for this!

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

    Thank you so much for such concise and funny explanations!

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

    Thank you so much for concise and funny explanations !

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

    Incredibly well explained!

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

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

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

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

  • @jikaikas
    @jikaikas 6 месяцев назад +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

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

    Great video man !!!

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

    this is useful. Thanks Ed!!!

  • @drbulltrader9107
    @drbulltrader9107 23 дня назад

    I just love your retro background. so many memories lol

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

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

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

    nice editting, well said explanation 👏

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

    this is golden youtube content

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

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

  • @junior.santana
    @junior.santana Месяц назад

    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

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

    This was very helpful thank you!

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

    This is the best CSS video, and hilarious lol

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

    This is great. Thank you.

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

    Great video! thank you!

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

    Thank you for this video!

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

    the extension name is "google pesticide"

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

      on any browser extension marketplace, just write "pesticide"

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

      Omg thank you so much for posting this!

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

    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

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

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

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

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

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

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

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

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

  • @jezza9774
    @jezza9774 10 месяцев назад +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 😅

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

    That was usefull !!!

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

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

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

    Thank you!

  • @mon0theist_tv
    @mon0theist_tv 3 месяца назад +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

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

    i owe you my life King

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

    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😅❤

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

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

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

    awesome video

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

    what is that chrome extension which shows boxes around elements ?

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

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

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

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

  • @LofiCoding11
    @LofiCoding11 24 дня назад

    Nice!

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

    Thanks!

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

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

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

    great video

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

    Thanks a lot

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

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

  • @br1580
    @br1580 19 дней назад

    The Chrome extension to highlight the elements is called 'Pesticide'.

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

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

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

    Great!

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

    what a gold video

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

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

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

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

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

    what is that chrome extension at the beginning?

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

    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

  • @JawsoneJason
    @JawsoneJason 4 месяца назад +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?

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

    Wowww what do you use for your charts?

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

    name of the extension for container boxes?

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

    Whats the name of the extension to see all boxes?

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

    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?

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

    what browser extension is that?

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

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

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

    whats the extension name sir , to see the page layout?

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

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

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

    What's the extension for box model?

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

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

  • @mauiwowie2626
    @mauiwowie2626 20 дней назад

    bruh whats the extension name to visualize border boxes?

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

    I was promised a pikachu. Thoroughly disappointed

  • @outpost31737
    @outpost31737 25 дней назад +1

    You don't need to use an implicit 12 column grid, besides it isn't responsive, much easier method is one line of code: grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); Adjust to your liking.

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

    2:23 which extension

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

    The Only CSS Layout Guide You'll Ever Need

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

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

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

    bravo

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

    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.

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

    I came for Pikachu. But learned a lot

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

    Is this vanilla CSS ?

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

    "Only use float if you enjoy suffering" lmao

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

    Niiiiice

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

    Holy crap XANGA

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

    "And you should only use it if you like suffering." - Yeah!🤣🤣🤣
    Me: "I love pain. More pain! Oopps... overlapped the ? Yeah! More pain!"

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

    Love from india

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

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

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

    Liked Subscribed Commented🔥🔥

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

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

    ❤❤❤❤❤❤

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

    Where is my Pikachu???

  • @benja303
    @benja303 2 месяца назад +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 3 месяца назад

    the thumbnail is so me.