CSS width & height, object-fit, overflow, and CSS units (ems, rems, vw, vmin, fr, ch, and more)

In responsive web design, width and height properties are sized based on the content inside, but can be more specifically defined using pixels (px), percentages (%), ems, rems, viewport width (vw), viewport height (vh), viewport minimum and maximum (vmin and vmax), fractional units (fr), and character units (ch).
In this lesson, we’ll cover each of these units, as well as minimum and maximum values, overflow, and object-fit.
00:00 - Introduction
00:54 - Automatic sizing
01:48 - Size units
02:02 - Pixels (px)
04:50 - Percentages (%)
05:47 - Ems (em) & rems (rem)
07:55 - Viewport-based units (vw, vh, vmin, vmax)
09:16 - Fractional units (fr)
10:19 - Character units (ch)
11:13 - Minimum & maximum dimensions
13:35 - Overflow (visible, hidden, scroll, auto)
14:31 - Object-fit (fit, contain, cover, none, scale down)
15:37 - Recap
Note: We’re transitioning to a new UI, and are in the process of updating our Webflow University content.
----------
Get started with Webflow: wfl.io/2r7cVUW
webflow.com
/ webflow
/ webflow

Пікірлер: 72

  • @MatiasCollado
    @MatiasCollado3 жыл бұрын

    When 2020 is over, I will remember Webflow as the only great thing of the year.

  • @MaykaOw

    @MaykaOw

    Жыл бұрын

    It´s 2023 already, so I have to ask. Was Webflow the only great thing of 2020?

  • @shubhamraut1039
    @shubhamraut10393 жыл бұрын

    It's amazing how I could go through a 17 min tutorial without ever getting bored. Amazing job, and helpful lessons!

  • @ChrisMooreOfficial
    @ChrisMooreOfficial Жыл бұрын

    “Like a calculator, but without the attitude.” 😂 In addition to the sarcasm and dry humor, I love McGuire's delivery and cadence. These videos are a serious work of art!

  • @damjan9548
    @damjan95483 жыл бұрын

    Webflow is awesome. Exepct it isnt, but it absolutley is! Pure Gold

  • @PhilipZilfo

    @PhilipZilfo

    3 жыл бұрын

    😂😂

  • @spencercamps
    @spencercamps3 жыл бұрын

    “The more familiarity we build with CSS sizing sizing, the more we can apply these skills to create almost anything for the web.” -Sophocles

  • @hsabes400
    @hsabes4002 ай бұрын

    "...and save on average, time" this is one of the greatest tutorials I've ever come across

  • @MaykaOw
    @MaykaOw Жыл бұрын

    EL MEJOR, repito, EL MEJOR TUTORIAL QUE HAYA VISTO ALGUNA VEZ. Posta, lo vi completo sin aburrirme, y totalmente interesada por lo que estaba viendo. Así deberían ser todos los tutoriales. Chapeau por los chistes que deslizó por ahí como si nada. Un 10!

  • @cariocadobrasil7
    @cariocadobrasil73 жыл бұрын

    Just absolutely love watching you guys and I learn so much!

  • @Webflow

    @Webflow

    3 жыл бұрын

    Our pleasure! We're excited about what we're launching, and can't wait to hear what you think about some bigger upcoming things we're working on.

  • @mc_coolcat847
    @mc_coolcat84711 ай бұрын

    I feel like I’m cheating watching these tutorials, it shouldn’t be this easy and comprehensive. 🔥

  • @aleksitjvladica.
    @aleksitjvladica.2 жыл бұрын

    This is by far the best tutorial I've ever got!

  • @abirahmed1292
    @abirahmed12923 жыл бұрын

    As a designer, I find CH very useful

  • @steveperry6047
    @steveperry60473 жыл бұрын

    I used to hate coding. WebFlow and I met, now I rejoice when fixing HTML/CSS issues. WebFlow bridges that gap between visual learners and programming thinking approaches.

  • @aurora23301
    @aurora233019 ай бұрын

    You have an impressive way of communicating information and teaching! Please continue to teach. These tutorials are gold!

  • @dokedoke0426
    @dokedoke04262 жыл бұрын

    This calms my anxiety with units...sigh Top quality study material.

  • @mateojimenez3337
    @mateojimenez33372 жыл бұрын

    I didnt even finished watching the intro but it was enough to hit that suscribe button

  • @zentowwwner
    @zentowwwner3 жыл бұрын

    This is Top Quality material. Thanks!

  • @Webflow

    @Webflow

    3 жыл бұрын

    Glad you like it! Thank you, hipErxyz!

  • @KamakazeCOG
    @KamakazeCOG3 жыл бұрын

    its almost 1am and i had to pause this video to say not only is this guy hilarious. the video is practical and very informative. thanks webflow

  • @cryptified5161
    @cryptified51616 ай бұрын

    On to the next video! Great stuff!

  • @DanBorgia
    @DanBorgia3 жыл бұрын

    As soon as I start hearing the music I give it a like.

  • @stilllearning1172
    @stilllearning11723 жыл бұрын

    Just found this GEM. Thank you :) for the great explanation

  • @SoulPrints
    @SoulPrints2 жыл бұрын

    This saved my life now

  • @aleexious2466
    @aleexious24662 жыл бұрын

    Explained it beautifully. Thanks Sir!

  • @LaolaLoges
    @LaolaLoges Жыл бұрын

    fantastically explained!

  • @sprintwithcarlos
    @sprintwithcarlos3 жыл бұрын

    Very good guys, you rock!

  • @naruto5437
    @naruto5437 Жыл бұрын

    m addicted and a fan now...started webflow

  • @user-lu4uo1wj5o
    @user-lu4uo1wj5o2 жыл бұрын

    great tutorial!

  • @grahamtaylornyc
    @grahamtaylornyc2 жыл бұрын

    5.44 "Like a calculator but without the attitude" How on earth does he keep a straight face?

  • @yungsnowbank
    @yungsnowbank3 жыл бұрын

    Why am I attracted to the man teaching me how to fix my broken website lmao

  • @harrietiluekhabho9795
    @harrietiluekhabho97953 жыл бұрын

    the fact that this video started as a movie trailer is just it for me...my like went 5s into the video

  • @mikepotter
    @mikepotter3 жыл бұрын

    i love webflow man

  • @jsanjeykumar
    @jsanjeykumar3 жыл бұрын

    awesome content

  • @itsdevgarg
    @itsdevgarg3 жыл бұрын

    Thank you so much

  • @L_E_A
    @L_E_A3 жыл бұрын

    To be picky; at 6.11, I think it should say 20 EM and not 16 EM

  • @Mayank-rs7kg
    @Mayank-rs7kg3 жыл бұрын

    I understood your content. But things are getting complicated, how do we practice it in order to concrete the information.

  • @user-tm8vh3vr8o
    @user-tm8vh3vr8o3 жыл бұрын

    why not in 7:10 "something inside that" just uses the font size specify to "something inside that" element as a reference? But you said to multiply all ems and px together? please help me out cuz I'm focused

  • @the-secrettutorials
    @the-secrettutorials2 жыл бұрын

    Well that should have bin my first webflow tutorial 😅

  • @galloburrito4252
    @galloburrito4252 Жыл бұрын

    Damn I should have stayed in school. Going to be rewatching till I get it lol

  • @LutherDePapier
    @LutherDePapier Жыл бұрын

    At 6:09 it's supposed to be 16 px times 20.0 em.

  • @feelphila
    @feelphila3 жыл бұрын

    6:09 i think there is a typo, must be 20em instead

  • @Webflow

    @Webflow

    3 жыл бұрын

    Thanks, Phil! We'll reach out to the team and let them know!

  • @yanchan06
    @yanchan063 жыл бұрын

    What app is he using?

  • @edanjumbo
    @edanjumbo3 жыл бұрын

    Is this a new lesson or it's a part of a course on Webflow university?

  • @Webflow

    @Webflow

    3 жыл бұрын

    Hi! We're currently producing a number of new lessons and courses - this lesson is launched solo for right now, but will be featured in some courses as an updated component (for instance, this will be featured int the 101 Crash Course for new users). Stay tuned, because we're launching brand-new courses over the next few months that'll contain modern layouts, advanced animations, and even comprehensive SEO.

  • @edanjumbo

    @edanjumbo

    3 жыл бұрын

    @@Webflow Wow, nice stuff. Great job

  • @oruaromukoro5072
    @oruaromukoro5072 Жыл бұрын

    What an intro

  • @mukulishwar2737
    @mukulishwar27373 жыл бұрын

    All I cared for was centi litres(cl) units except I did not.

  • @JoeBodego
    @JoeBodego3 жыл бұрын

    What program are you using

  • @BenFigueiredo23

    @BenFigueiredo23

    3 жыл бұрын

    🧐

  • @Webflow

    @Webflow

    3 жыл бұрын

    Hi, Joe! This is Webflow - check it out! www.webflow.com

  • @JoeBodego

    @JoeBodego

    3 жыл бұрын

    @@Webflow as a lifelong dreamweaver user this is not making me feel good. i would try this it seems so much more logical

  • @BenFigueiredo23

    @BenFigueiredo23

    3 жыл бұрын

    Joe Bodego as some one who learned dreamweaver, but never continued with it, went on to use Wordpress for the last couple of years and just built my first @webflow site, I can attest that it is the easiest and funnest. (If funnest was a word)

  • @YAakash
    @YAakash3 жыл бұрын

    vw which is a german automotive corporation.. made me chuckle.

  • @thesouthsidedev1812
    @thesouthsidedev18123 жыл бұрын

    Who else, likes the way he talks?

  • @macxdeeyt2767
    @macxdeeyt27677 ай бұрын

    vw-volkswagen

  • @memeteliniyaz9842
    @memeteliniyaz98422 жыл бұрын

    as a germany based developer i cried here 16:20

  • @PhilipZilfo
    @PhilipZilfo3 жыл бұрын

    heyyyyyy what about centiliters??? 😂😂😂

  • @grittygirlgraphics8633
    @grittygirlgraphics86333 жыл бұрын

    Being that McGuire is a perfectionist, he may want to know that at 8:00-8:02, he really meant to say VW and not VH...I think...or I'm losing my mind.

  • @Webflow

    @Webflow

    3 жыл бұрын

    You're not losing your mind - it should indeed be VW! The update is reflected in the captions; unfortunately KZread won't let us upload the correction in the audio or video side. Great catch!

  • @grittygirlgraphics8633

    @grittygirlgraphics8633

    3 жыл бұрын

    @@Webflow I probably am losing my mind, except that I’m not.

  • @shanemarchan658
    @shanemarchan6583 жыл бұрын

    this video is great, except its not. so hear why it's great.

  • @TsukiDrawing
    @TsukiDrawing3 жыл бұрын

    When I heard vwin, I thought you said women

  • @grittygirlgraphics8633
    @grittygirlgraphics86333 жыл бұрын

    No more chocolate chip cookie photos please...

  • @Webflow

    @Webflow

    3 жыл бұрын

    Oatmeal raisin then?

  • @grittygirlgraphics8633

    @grittygirlgraphics8633

    3 жыл бұрын

    @@Webflow yeah those are gross. Perfect for the 1am viewing of the above lesson. 😎

  • @jamesrimes2870
    @jamesrimes28702 жыл бұрын

    I really don't like these series, except I do, a lot.

Келесі