简体   繁体   English

Google样式的Bootstrap主题会引发很多CSS验证错误。 使用样式表安全吗?

[英]Google-styled theme for Bootstrap throwing a lot of CSS validation error. Is it safe to use the style-sheet?

I am using the Google-styled theme for Bootstrap for one of my project. 我正在为我的一个项目使用Google风格的Bootstrap主题 However, I started noticing lately that the project website in itself has 300+ css validation errors - which is making use of todc-bootstrap.min.css stylesheet and so do my new website. 但是,我最近开始注意到该项目网站本身就有300多个CSS验证错误 -这是利用todc-bootstrap.min.css样式表,因此我的新网站也是如此。

Is it good to push the site with current style-sheet to production? 将具有当前样式表的网站推向生产是否很好? What will be harmful effect in performance if I have to migrate the code to production? 如果必须将代码迁移到生产环境,会对性能产生什么有害影响?

You get validation errors, because this is crossbrowser css with legacy selectors, filter, and more. 您会收到验证错误,因为这是带有旧式选择器,过滤器等的跨浏览器css。 Its naturally. 自然。 Just use it! 只需使用它! :) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM