Это видео недоступно.
Сожалеем об этом.

PB101: L11 - Responsive Development With Breakpoints & Media Queries (+ CSS Cascade & Specificity)

Поделиться
HTML-код
  • Опубликовано: 10 май 2023
  • We have some unfinished business with the Messagely landing page we created in a previous lesson. One part of that unfinished business deals with mobile responsiveness.
    But before tackling responsiveness, we must discuss breakpoints, media queries, CSS cascade, and CSS specificity!
    This lesson covers:
    ✔️ Max-width media queries
    ✔️ Min-width media queries
    ✔️ Orientation media queries
    ✔️ Variable support in media queries
    ✔️ Media Range Queries
    ✔️ Container Queries
    ✔️ CSS Cascade & Specificity
    ** MY TOOLS **
    🔥 AutomaticCSS (ACSS) - automaticcss.com
    🔥 Frames - getframes.io
    See all my recommended tools here: geary.co/tools/
    ** INNER CIRCLE **
    Step your design/dev game up, make more money, and get the full scoop on scaling your digital agency! When it comes to the Inner Circle, I don't hold back.
    ⭕ In-depth design & dev trainings
    ⭕ Business, sales, & marketing trainings
    ⭕ Agency resources & downloadables
    ⭕ Vibrant, quality community with zero toxicity
    ⭕ ...and much more!
    Learn more and join here: geary.co/inner...
    ** SOCIAL **
    👉 FB - / marketingkev
    👉 LinkedIn - / kevingeary
    ** CHAPTERS **

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

  • @ukukudu
    @ukukudu Год назад +17

    I believe you are the best web design teacher right now in YT! Keep up the good work 🚀

    • @Gearyco
      @Gearyco  Год назад +2

      Appreciate that!

    • @ukukudu
      @ukukudu Год назад

      @@Gearyco Do you launch the figma add-on for acss and frames next week? 😇 Cant wait. 🤩🤩

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

      I don't believe, I KNOW he is 💪

  • @stripedgoat8470
    @stripedgoat8470 Год назад +5

    From this lesson I extended my knowledge with landscape and portrait media query, thanks! 😁 Always something to pick up from your lessons, even for those more familiar with web development. 🙌

  • @dustindauncey
    @dustindauncey Год назад +6

    Interesting about staying desktop-first. I’m kind of on that mindset too but have noticed various resources online recommending going mobile-first instead. But maybe that’s more relevant to hand-coding as you said in the video instead of for those using page builders. I find it easier to think big to small, but maybe that’s just from lack of experience doing it mobile-first, hard to say. I may try a small project mobile-first one day and see how that goes.

    • @Gearyco
      @Gearyco  Год назад +4

      Yea for hand coding mobile first is more efficient.

  • @kareem2928
    @kareem2928 Год назад +2

    Thank you Kevin. Amazing tutorial.... 🤝

  • @RitaOwusuAgyeman
    @RitaOwusuAgyeman Год назад +2

    Great, thank you so much

  • @ZachariahWiedeman
    @ZachariahWiedeman Год назад +1

    I need to get a dual monitor setup. It's so hard to keep tabbing back and forth between RUclips, Notion, and now Codepen and Bricks! 😅 But worth it! 😉

  • @ted-e-baer
    @ted-e-baer Год назад +1

    Thank you, Kevin. 👍

  • @uzzamafroz
    @uzzamafroz Год назад +1

    Thanx Kevin, Awesome Lesson

  • @eucalyptech
    @eucalyptech Год назад

    Very interesting, thank you Kevin for clarifying these subjects !

  • @webcare_live
    @webcare_live Год назад +1

    Great Lesson!!!

  • @chantscreen
    @chantscreen Год назад +1

    Brilliant!

  • @rickdugmore
    @rickdugmore 8 месяцев назад +1

    Beautiful.

  • @gojiyaravi2
    @gojiyaravi2 Год назад +4

    Yeah, Elementor has earned it 😂...

  • @derekshort
    @derekshort Год назад +1

    Great lesson! Thanks!

  • @John.Rearden
    @John.Rearden Год назад +1

    Good Lesson.

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

    Great explanation. Thank you Kevin 👍

  • @azuzaazuza
    @azuzaazuza Год назад

    Thank you Kevin, awesome lessons!

  • @wingtracer
    @wingtracer Год назад +1

    One of my favorite hobbies too. lol.

  • @koperkuba
    @koperkuba Год назад +1

    Thanks!:)

  • @thorsten-roever
    @thorsten-roever Год назад +1

    Since the videos come in such short intervals, I have cancelled netflix and appleTV. Just a pity that there are no more chapters.

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

    It may be bad practice but an !important inline styles should be mentioned.
    MDN: Inline styles are styles defined using the style attributes. They can also be normal or important. Inline normal styles take precedence over all normal declarations, no matter the origin. Inline important styles take precedence over all other important author styles, no matter the layer, but important styles from user's or user-agent's style sheets and transitions override them.

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

      I think I covered inline styles at one point in the course.

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

    I feel confused between align main axis / align cross axis. ( I test and I try to align left but I don't know which one will work )

  • @derekshort
    @derekshort Год назад +1

    16:40 Technically, the correct naming format for IDs is somewhat camelcase. It should be id=”myBox” unless I’m wrong.

    • @Gearyco
      @Gearyco  Год назад

      Hmm haven’t ever heard that

    • @derekshort
      @derekshort Год назад

      @@Gearyco Hmm. It looks like I’m wrong, according to a University of Washington CSE 154 - Unofficial Style Guide > Naming Conventions in HTML... D’oh... I learned it in college in 2014 during an introductory web design course. We used an Adobe Dreamweaver textbook... I’ve been using the method ever since. It’s easier for me to differentiate and debug... Whatever works and is consistent. Carry on, great teacher. 😊

  • @user-qb2mj1zu2y
    @user-qb2mj1zu2y 9 месяцев назад

    How would be your aproach if on a 25" monitor website looks perfect but it doesnt look good on smaller screens like 1300px, would you create a custom breakpoint or?

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

      Depends on what doesn’t look good

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

    I’m knocking stuff over on my desk 😂

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

      Things get exciting sometimes

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

    At 37:10 why would you not add responsive design (swapping to one column on mobile) to your utility class? Wouldn't you want to possibly have all grid--2 classes behave in the same way on different break points? And why would you not use a BEM class for grid lay outs? I don't fully understand that quite yet 🙏🏻

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

      No, that’s too opinionated for a utility class. You don’t want to force all two column grids to stack at a specific breakpoint. That would cause big problems.

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

      @@Gearyco thank you!

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

    Hey Kevin, great video has usual. Thanks for all of this kind sharing. Got wondering about this preference of yours of aligning left on mobile 🤔 I try to be consistent on alignment across all viewports, also it's easier to manage. Yet, while looking you're video I realized that by aligning the content at left, it creates more space on the right. It makes sense considering most of the times our finger is there swiping the screen to scroll. Is this one of the reasons or there are others?

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

      It just looks cleaner imo.

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

    What is creating the 3 little dots at the top of the page next to your breakpoint icons? It looks like when you click on that the popup with info about the breakpoints comes up. I don't see that on my screen. Thanks!

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

      Bricks custom breakpoints. Turn on in settings.

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

      Thank you!@@Gearyco

  • @TammyButcherPlus
    @TammyButcherPlus Год назад

    Is there a setting in code pen that lets you use the custom element tag of my-box or do you have to be a Pro member? I am using div at the moment to make things work but I've looked in settings and am not seeing it if there is. I actually think I really need to practice with specificity as I keep getting some problems with this on a site! Thank you.

    • @Gearyco
      @Gearyco  Год назад

      No, just make sure you’re setting the display properly. Custom elements require you to set display to flex, block, grid, etc. there’s no default.

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

    Playing with the box, like we all like to do 😂

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

      A favorite activity.

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

    The cwicly tailwind update fcked me up big time because of breakpoints and the changes to mobile first dev. What a mess, i should have known better

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

      It doesn’t force you to use mobile first does it?

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

      @@Gearyco Yes it does, TW is mobile first and once you change to the tailwind breakpoints your website is screwed

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

      Well I was wrong again, they allow you to switch BP but besides they developed this breakpoints styles transfer tool, and it works great.

  • @BGdev305
    @BGdev305 Год назад

    Honestly, this is BASIC, TOO basic. Anybody needing to learn this could watch the gazillion of videos on youtube OR read documentation, also every where!
    I'd rather you go in detail about clamp functions and ACSS! That's more modern and gets rid of media breakpoints which we all know has run its course!

    • @Gearyco
      @Gearyco  Год назад +5

      You’ll always need breakpoints for certain things. It has to be covered in a 101 course.

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

    Before I just started building the website. Now I sit in front of the PC for 1h just thinking