CSS Grid - Unlock the Secrets of AUTO-FILL vs AUTO-FIT

preview_player
Показать описание
Get ready to unlock the secrets of CSS Grid like never before! This CSS tutorial delves deep into the ultimate showdown between auto-fill and auto-fit.

Auto-Fill and Auto-Fit are powerful tools that can instantly transform your CSS grid layouts! If you've ever struggled with responsive design or got frustrated by overflowing columns? Say goodbye to those headaches! We’ll walk through how to create dynamic and responsive layouts without a single media query.

We'll explore the magic of the repeat() function, how auto-fill fills the grid with columns even if they’re empty, and how auto-fit collapses those pesky empty columns and redistributes space.

Don’t forget to hit the subscribe button to keep up with all the incredible CSS and front-end development content! If you enjoy the video, smash that like button and share it with your friends. Got questions or comments? Drop them below, and let’s explore the world of CSS together! 💬

Related Topics
-----------------------------------------------------
- The difference between auto-fill and auto-fit
- How to choose between CSS auto-fill and auto-fit
- CSS GRID: auto-fit and auto-fill
- The magic of auto-fit and auto-fill (and the difference between them)
- CSS Grid Course: auto-fit vs auto-fill
- The Magic of CSS Grid AUTO-FIT vs AUTO-FILL

Chapters
-----------------------------------------------------
00:00 Intro
00:45 Setup for the demo project
01:00 Understanding the problem
01:34 Make CSS Grid items automatically wrap
03:06 How the auto-fill works in a CSS grid layout
04:25 Working with the auto-fit in a CSS grid setup

Subscribe and never miss a beat
-----------------------------------------------------

Learn at your own pace
-----------------------------------------------------

Connect, share, and grow
-----------------------------------------------------

#css #cssgrid #cssgridlayout #autofill #autofit #responsivewebdesign #frontenddesign #frontendtutorial #csstricks #frontenddevelopment #webdevelopment #codingtips #webdevtutorial #csstutorial #csstips #cssmagic #cssshorts #cssforbeginners #css3 #learncss #optimisticweb
Рекомендации по теме
Комментарии
Автор

To help the channel reach a wider audience, I'd really appreciate it if you could watch the entire video before leaving. The longer you watch, the more YouTube will promote it to other viewers. To show your support, please give it a thumbs up, leave a comment, and share it with your friends. Your support means a lot! 🙏

OptimisticWeb
Автор

Great explanation, thank you. Really helpful grid’s feature. I’ve never really thought that it adds the extra columns and collapse them, I’ve thought it just stretches the existing columns)) it matters for the css selectors, I think. Good tip)

biggand
Автор

Once again, yet another great video, with a clear & concise example & explanation, thanks OW! 👍

tonymorin
Автор

Awesome video! This info is very useful. Thanks for sharing!

dannydelgado
Автор

This is awesome thanks for explainning how to solve problems

MrCloudTel
Автор

auto-fill fits the elements, auto-fit fills the space 😮

vinciarts
Автор

Hi, Great Video. I really learnt a lot from your videos. Just wanted to clear one confusion. Does it make implicit column or explicit one? Because I have read somewhere it is generating explicit column as we are explicitly doing it by grid-template-columns? Once again I have seen your all videos . Great work!!

abhiansh
Автор

Perfect! Just what I needed to replace a Bootstrap flex row with explicit `col-size-n` classes on the children.

RayBellis
Автор

whats the point of 1fr in repeat(auto-fill, minmax(100px, 1fr)) ? if its not taking all the available space for the given cards

starlord
Автор

I’m looking for the best way to create a modal using the most appropriate and dedicated HTML tags

younesdeveloper
Автор

It's not dynamic and responsive, just responsive

cryptixdaemon