No video

Use object-fit to crop and fit images into any defined size - Micro lesson #25

  Рет қаралды 51,286

Webflow

Webflow

Күн бұрын

No more individually sizing images in Adobe Photoshop, Figma or Microsoft Paint. With the power of object-fit, you can fit your images into any defined width or height on your canvas. To accomplish this, follow these two steps:
1. Set a defined width and height on your image
2. Select any of the object-fit property (fill, cover, contain, none, scale down)
Now you can temporarily exit out of your image editing program, because you can size and position your images directly in Webflow.
Learn more about sizing elements in our 101 crash course → university.web...
----------
Get started with Webflow: wfl.io/2r7cVUW
Join the Webflow Community: webflow.com/co...
webflow.com
/ webflow
/ webflow

Пікірлер: 37
@brandonwolff966
@brandonwolff966 3 жыл бұрын
Be careful of how much extra image you aren’t showing throughout your site for load time. That part of the image still needs to load even though it isn’t being shown.
@pixelgeek
@pixelgeek 3 жыл бұрын
This is a great point for us developers. But there are times when a client will upload a too small or too big image and this trick really helps crop things perfectly for them.
@apache95
@apache95 3 жыл бұрын
50 Shades of Grímur. Beautiful.
@reinoldg
@reinoldg 3 жыл бұрын
Making images fit or resizing them on the fly plus applying relative and absolute properties is always a struggle for me. Maybe you could make a tutorial with a dozen of examples on how to crop, resize, transform, overlap and fit images. That would be great for beginners
@Webflow
@Webflow 3 жыл бұрын
Hi @Reinold Guzman, thanks for the suggestion! We'll see what we can do.
@Webflow
@Webflow 3 жыл бұрын
In the meantime, you may find this video lesson helpful: kzbin.info/www/bejne/fYHEladurNJ6jq8
@reinoldg
@reinoldg 3 жыл бұрын
@@Webflow thank you
@rodrigo.lamadrid
@rodrigo.lamadrid 2 жыл бұрын
You're a darling, Grimur! This was soooo useful 🤩 keep the quality content and tutorials coming!
@georgeuxuidesign
@georgeuxuidesign 10 ай бұрын
Damn, this tool and these teachers never stop surprising me
@thejaysehansen
@thejaysehansen 2 жыл бұрын
Great vid. Can 'cover' also work with embedded videos somehow?
@billdodson207
@billdodson207 3 жыл бұрын
pure beauty
@mr.fanstastic9010
@mr.fanstastic9010 6 ай бұрын
What about rotation and flip?
@ChineduChidiebere
@ChineduChidiebere 8 ай бұрын
Hello team webflow , when I change designs on smaller devices, it affects both the larger screens. I don't know if this is a technical issue or i'm missing something. I need help please
@alexxlem
@alexxlem 3 жыл бұрын
I've used the object-fit feature in Webflow and I noticed when I use an image that has by default a landscape aspect ratio (e.g. 6:4), it looks super sharp in an horizontal aspect ratio container, but when I change the aspect ratio of the container, for instance for mobile, to a vertical portrait ratio (e.g. 4:6), the image become slightly blurry. Yes, I’m using an image that is at least 2x (width and height) of the container size, so it’s supposed to be sharp on retina displays. My workaround is to crop the same image in Figma to a 4:6 ratio and re-export it, it now looks super sharp on mobile. Any idea why?
@christossoulakis2539
@christossoulakis2539 3 жыл бұрын
Webflow compresses big images if I'm not mistaken. It's usually better to upload an image with the correct size
3 жыл бұрын
@@christossoulakis2539 Not an expert, but I would guess it's probably something to do with the image optimization and which one Webflow is choosing to display, based on the horizontal size?
@Webflow
@Webflow 3 жыл бұрын
Hi Alex, great question! It sounds like your images may be getting resized with our responsive image workflow: university.webflow.com/lesson/responsive-images Within this guide you'll learn how to disable responsive images which should prevent the resizing issue which you're running into. If you have any questions, please let us know on the Webflow Forum: forum.webflow.com/ We're here to help!
@alexxlem
@alexxlem 3 жыл бұрын
@@Webflow Oh wow - I just did a test and yes, that was exactly the problem. I disabled the responsive image and it now the same image looks super sharp on desktop and mobile! Thanks!
@nikitamanchenko7507
@nikitamanchenko7507 2 жыл бұрын
Is working only for Images, not for DIV or ?
@Webflow
@Webflow 2 жыл бұрын
Yes. This only works for inline images.
@Wizastudios
@Wizastudios 2 жыл бұрын
Did you fix the publish rotation problem yet?
@xbrsh
@xbrsh Жыл бұрын
thank you for helping.
@Webflow
@Webflow Жыл бұрын
You're welcome!
@deadshotgaming6449
@deadshotgaming6449 2 жыл бұрын
Thanks
@PepperstreetDev
@PepperstreetDev 2 жыл бұрын
Thank you !!!
@asjap2533
@asjap2533 2 жыл бұрын
thank you!!
@harrymolyneux
@harrymolyneux 3 жыл бұрын
ASMR video of this guy saying "swishsed" pls
@farisfaisyal6493
@farisfaisyal6493 Жыл бұрын
Thankss
@DishanTD
@DishanTD 3 жыл бұрын
👌👌👌
@HOLBAG
@HOLBAG 3 жыл бұрын
Please, I have a question ïam busy to build website local on main menu are price button page on this page there are two buttons one for men price and another for ladies price when click on men button I only see the price of man . when click on ladies button I see only the price of ladies this happend in the same page not go to another page. Thanks
@Webflow
@Webflow 3 жыл бұрын
Hi Leo! Thank you so much for asking about your site build styles. Can you please create a post on the Webflow Forum with your site details so that we and the community can help with this design related question? forum.webflow.com/ Thanks in advance!
@1WillyDAVID
@1WillyDAVID 3 жыл бұрын
thanks grimmur!
@shubhamparekh9808
@shubhamparekh9808 3 жыл бұрын
Great 👍
@flyingbrokenarrow
@flyingbrokenarrow 3 жыл бұрын
Hey Grímur, please say squished again. Please...
@jo69123
@jo69123 9 ай бұрын
I'd be a lot more helpful if you could break down how real pro designers place images and set real world responsive width tricks so that any image works at any given viewport width This is not a real world use case
@georgemath2878
@georgemath2878 3 жыл бұрын
I love you Grimur...haha
@RogrM6
@RogrM6 3 жыл бұрын
🙌🙌🙌🙌🙌
Top 5 Webflow mistakes beginners make
9:25
Flux Academy
Рет қаралды 68 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 42 МЛН
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 25 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 68 МЛН
6 UI Hacks I Wish I Knew As A Beginner
11:11
Tim Gabe
Рет қаралды 796 М.
13 Things To Remove From Your Website Immediately
12:33
Orbit Media Studios
Рет қаралды 312 М.
Advanced interactions: Horizontal scroll in Webflow
9:55
Webflow
Рет қаралды 191 М.
Use these instead of vh
6:06
Kevin Powell
Рет қаралды 505 М.
The dos and don'ts of image resolution - Webflow tutorial
3:29
Easily Improve Your Web Design (With Example)
17:59
Flux Academy
Рет қаралды 81 М.
Responsive Typography 2020 (Font Size Scaling in Webflow)
9:27
Timothy Ricks
Рет қаралды 52 М.
Complete Webflow Quickstack Tutorial (Better than Grid?!)
13:48
4 Keys to Responsive Sizes in Webflow
3:36
Timothy Ricks
Рет қаралды 12 М.
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 42 МЛН