Title: Bad box-sizing code in CSS
Last modified: August 21, 2016

---

# Bad box-sizing code in CSS

 *  Resolved [VisiCom](https://wordpress.org/support/users/yapaslfeu/)
 * (@yapaslfeu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/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; }
 * [https://wordpress.org/plugins/customer-area/](https://wordpress.org/plugins/customer-area/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Vincent Mimoun-Prat](https://wordpress.org/support/users/vprat/)
 * (@vprat)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bad-box-sizing-code-in-css/#post-5120013)
 * That’s included by Bootstrap which is used by the default-v4 skin. If you feel
   like it, you can head on to GitHub and submit a pull request for a new skin. 
   This will be most welcome.
 *  Thread Starter [VisiCom](https://wordpress.org/support/users/yapaslfeu/)
 * (@yapaslfeu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/bad-box-sizing-code-in-css/#post-5120022)
 * [https://github.com/marvinlabs/customer-area/pull/2](https://github.com/marvinlabs/customer-area/pull/2)
   
   [https://github.com/marvinlabs/customer-area/pull/3](https://github.com/marvinlabs/customer-area/pull/3)
 *  Plugin Contributor [Vincent Mimoun-Prat](https://wordpress.org/support/users/vprat/)
 * (@vprat)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/bad-box-sizing-code-in-css/#post-5120042)
 * Hi,
 * Thanks a lot for the pull requests, I’ll have a look and will include that in
   the next release (I am overbooked at present, so it may take some time). Do not
   hesitate to submit more enhancements if you feel they are required.
 *  [DobsonDev](https://wordpress.org/support/users/dobsondev/)
 * (@dobsondev)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/bad-box-sizing-code-in-css/#post-5120047)
 * Hi Alexandre,
 * That was a great find and totally fixes the issue I was having with the plugin.
   Great work and thanks!
 *  Thread Starter [VisiCom](https://wordpress.org/support/users/yapaslfeu/)
 * (@yapaslfeu)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/bad-box-sizing-code-in-css/#post-5120048)
 * Happy it worked!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Bad box-sizing code in CSS’ is closed to new replies.

 * ![](https://ps.w.org/customer-area/assets/icon-256x256.png?rev=1288039)
 * [WP Customer Area](https://wordpress.org/plugins/customer-area/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/customer-area/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/customer-area/)
 * [Active Topics](https://wordpress.org/support/plugin/customer-area/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/customer-area/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/customer-area/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [VisiCom](https://wordpress.org/support/users/yapaslfeu/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/bad-box-sizing-code-in-css/#post-5120048)
 * Status: resolved