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

Padding problem #26

Open
arjunmenon opened this issue May 1, 2015 · 1 comment
Open

Padding problem #26

arjunmenon opened this issue May 1, 2015 · 1 comment

Comments

@arjunmenon
Copy link

Hey
If you add padding to elements, the polyfill does not account for it. Like if you stack two elements vertically, and add 50vh to them with padding-bottom of 10px to the first and padding-top 10px to the second, the second one clips a little.

@arjunmenon arjunmenon changed the title Pa Padding problem May 1, 2015
@Fudoshiki
Copy link

use box-sizing: border-box for element with padding

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

No branches or pull requests

2 participants