Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inheriting box sizing v2 #641

Closed
wants to merge 2 commits into from
Closed

Inheriting box sizing v2 #641

wants to merge 2 commits into from

Conversation

mor10
Copy link
Contributor

@mor10 mor10 commented Nov 3, 2014

New patch for inheriting box sizing (replaces the now closed #630). Removed my previous "unclean" patch and replaced with this one which only includes the actual changes, no historical data.

This patch is based on the same idea as #609 but also has a patch for SASS to make the two stylesheets consistent.

Background:

This patch improves box-sizing in accordance with http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ and http://blog.teamtreehouse.com/box-sizing-secret-simple-css-layouts#comment-50223 to allow for easier changes and alterations of the property in components and plugins that rely on other property settings.

Works the same as before, but improves functionality marginally and is considered the new best-practice approach.

@obenland obenland closed this in e4a252b Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant