before / after with box-sizing

This commit is contained in:
Raphael Goetter 2017-12-06 09:32:12 +01:00
parent a481f65367
commit e2fde95ba5
3 changed files with 9 additions and 4 deletions

View file

@ -376,11 +376,14 @@ html {
box-sizing: border-box;
}
* {
*,
*::before,
*::after {
-webkit-box-sizing: inherit;
box-sizing: inherit;
/* avoid min-width: auto on flex and grid children */
min-width: 0;
min-height: 0;
}
html {

File diff suppressed because one or more lines are too long

View file

@ -7,11 +7,13 @@ html {
box-sizing: border-box;
}
* {
*,
*::before,
*::after {
box-sizing: inherit;
/* avoid min-width: auto on flex and grid children */
min-width: 0;
// min-height: 0;
min-height: 0;
}
html {