Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to use CSS object-fit to control your images
ChannelKevin PowellDescription from the creator
Object-fit allows you to control your image in much of the same way you can do with background-image and background-size, but with even more properties at its disposal! It gives us 'cover' and 'contain' as well as 'fill', 'scale-down' and 'none', and 'none' works in a totally unexpected way (it's not the default!)
And the intro thing... that's what happens when you're doing the final touches when you should have been in bed 3 hours earlier, lol.
#fiveminutefriday
---
I have a newsletter! kevinpowell.co/newsletter
New to Sass, or want to step up your game with it? I've got a course just for you: kevinpowell.co/learn-sass
---
My Code Editor: VS Code - code.visualstudio.com/
How my browser refreshes when I save: youtu.be/h24noHYsuGc
---
Support me on Patreon: patreon.com/kevinpowell
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
Instagram: instagram.com/kevinpowell.co/
Twitter: twitter.com/KevinJPowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
And the intro thing... that's what happens when you're doing the final touches when you should have been in bed 3 hours earlier, lol.
#fiveminutefriday
---
I have a newsletter! kevinpowell.co/newsletter
New to Sass, or want to step up your game with it? I've got a course just for you: kevinpowell.co/learn-sass
---
My Code Editor: VS Code - code.visualstudio.com/
How my browser refreshes when I save: youtu.be/h24noHYsuGc
---
Support me on Patreon: patreon.com/kevinpowell
I'm on some other places on the internet too!
If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.
Instagram: instagram.com/kevinpowell.co/
Twitter: twitter.com/KevinJPowell
Codepen: codepen.io/kevinpowell/
Github: github.com/kevin-powell
About this tutorial
Kevin Powell published this 6:01 video tutorial on October 27, 2018. It has been watched 465,178 times on YouTube.
- Channel
- Kevin Powell
- Category
- Education
- Duration
- 6:01
- Published
- October 27, 2018
- Views
- 465,178
- Likes
- 8,810
Tags
Share
This tutorial in other languages
- FRComment utiliser les CSS objet apte à contrôler vos images
- ESCómo usar CSS objeto de ajuste para controlar sus imágenes
- PTComo usar CSS objeto-fit para controlar suas imagens
- ITCome usare i CSS oggetto-fit per controllare le vostre immagini
- DEWie CSS-Objekt-fit verwenden, um Ihre Bilder zu steuern
- NLHoe kan ik CSS object-fit gebruiken om uw foto's te controleren
- RUКак использовать CSS объект-припадок для управления изображениями
- PLJak korzystać z obiektu CSS-fit kontrolować swoje obrazy
- JAあなたのイメージを制御するためにCSSオブジェクトフィットの使い方
- ARكيفية استخدام CSS كائن صالح للسيطرة على صورك
- HIकैसे आपकी छवियों को नियंत्रित करने के सीएसएस वस्तु फिट उपयोग करने के लिए
- IDCara menggunakan CSS objek-fit untuk mengontrol gambar Anda