⚠️ This lesson is retired and might contain outdated information.

Understanding box-sizing: border-box

Chris Biscardi
InstructorChris Biscardi
Share this video with your friends

Social Share Links

Send Tweet
Published 5 years ago
Updated 2 years ago

We show what difference the CSS rule box-sizing border-box makes to your applications before showing the best way to apply border-box to your entire application while preserving the ability to render legacy components

~ 5 years ago

That's a cool way to do it, specially on a reset like file. I'm currently avoiding all sorts of global selectors to avoid any conflicts on designs that do not follow a design convention or general rules, which happens a lot. I'd rather just give each components it's own rule and reuse components instead of styles.

Markdown supported.
Become a member to join the discussionEnroll Today