It Might Be Time to Rethink Box-Sizing: Border-Box

It Might Be Time to Rethink Box-Sizing: Border-Box

Kevin Powell via YouTube Direct link

10:20 - You probably don’t want to remove it for old projects

8 of 9

8 of 9

10:20 - You probably don’t want to remove it for old projects

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

It Might Be Time to Rethink Box-Sizing: Border-Box

Automatically move to the next video in the Classroom when playback concludes

  1. 1 00:00 - Introduction
  2. 2 00:21 - The problem with border-box on container/wrapper
  3. 3 02:26 - Using box-sizing: context-box to fix it
  4. 4 03:48 - We don’t declare sizes that often anymore
  5. 5 05:00 - Heights with context-box are often better too
  6. 6 07:20 - The times when border-box does make more sense
  7. 7 08:55 - Except maybe we don’t need it after all
  8. 8 10:20 - You probably don’t want to remove it for old projects
  9. 9 10:43 - CSS Demystified

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.