Bootstrap: W3C CSS Validator

Created on 31 Mar 2016  路  5Comments  路  Source: twbs/bootstrap

Hello,

We have try to validator the Bootstrap css in w3c and it's show error 41 and warnings, ca you please let us know how to resold the error and warning?

css v3

Most helpful comment

All 5 comments

Bootstrap uses a number of browser-specific hacks. These hacks will not pass validation. They are necessary to ensure compatibility with older browsers. The code should work as intended on all supported browsers. Just ignore the errors and warnings.

@RyanZim however non-valid CSS cannot be minified correctly by Cloudflare as it won't minify CSS that contains errors.

you can have CSS hacks that ensure things work to an extent in all browsers, or you can have cloudflare-minified CSS. you can't have both.

I received an invitation for a new private beta of Cloudflare's auto-minification which seems to minify the CSS. So obviously you will be able to have both. Good news.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

devfrey picture devfrey  路  3Comments

iklementiev picture iklementiev  路  3Comments

tiendq picture tiendq  路  3Comments

cvrebert picture cvrebert  路  3Comments

leomao10 picture leomao10  路  3Comments