Bad box-sizing code in CSS
-
The following CSS breaks the whole website:
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}You should write instead something like:
.cuar-page *, .cuar-page *:before, .cuar-page *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Bad box-sizing code in CSS’ is closed to new replies.