Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Should We Stop Teaching Width and Height to CSS Beginners?

Автор: General Musings with Kevin Powell

Загружено: 2025-05-01

Просмотров: 2917

Описание:

The survey link (I lied, it's 3 questions, but they're all super short!): https://3g5kprf8905.typeform.com/to/l...

In this episode, I talk about why I think we should appreciate browser defaults more when writing CSS, and ended up having a mini lightbulb moment about teaching CSS - maybe we shouldn't introduce width and height properties right away to beginners? It seems like that just creates habits we have to unlearn later.

I talk about how block elements naturally want to take up the full width but only be as tall as they need to be, and why working with these behaviors (instead of fighting them) makes for better responsive designs. I go on a bit of a tangent about setting constraints with min/max values rather than forcing exact dimensions.

Along the way, I point out some common mistakes I see a lot - like using that universal reset with the star selector (please don't do that!) or declaring the same font-family fifteen times when you could just put it on the body once.

Should We Stop Teaching Width and Height to CSS Beginners?

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Is it time to scrap CSS and start over?

Is it time to scrap CSS and start over?

Navigating Workloads and Priorities

Navigating Workloads and Priorities

Learn CSS BEM (and avoid these common mistakes)

Learn CSS BEM (and avoid these common mistakes)

Rethinking how I name some things in CSS

Rethinking how I name some things in CSS

Building the Company vs Product

Building the Company vs Product

Catching up on the world of WordPress with Kyle of The Admin Bar

Catching up on the world of WordPress with Kyle of The Admin Bar

The ever evolving state of CSS and the web

The ever evolving state of CSS and the web

One of the most common CSS issues people run into

One of the most common CSS issues people run into

Изучите Framer за 20 минут (ускоренный курс)

Изучите Framer за 20 минут (ускоренный курс)

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

CSS Flexbox и Grid — правильно ли вы их используете?

CSS Flexbox и Grid — правильно ли вы их используете?

The dichotomy of grid

The dichotomy of grid

Единственное руководство по CSS-разметке, которое вам когда-либо понадобится

Единственное руководство по CSS-разметке, которое вам когда-либо понадобится

Framer для начинающих: главный секрет создания адаптивного сайта

Framer для начинающих: главный секрет создания адаптивного сайта

The Complete Web Development Roadmap

The Complete Web Development Roadmap

Pause for Paris (TGMT Ep 23)

Pause for Paris (TGMT Ep 23)

CSS, доступность и причудливый веб с Сарой Джой

CSS, доступность и причудливый веб с Сарой Джой

Трудно заметить прогресс в данный момент.

Трудно заметить прогресс в данный момент.

Navigating the World of Web Accessibility with Sara Soueidan

Navigating the World of Web Accessibility with Sara Soueidan

Are we Entering the Post-Developer Era?

Are we Entering the Post-Developer Era?

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]