在bootstrap的奇怪的错误 [英] Weird Error on bootstrap

查看:131
本文介绍了在bootstrap的奇怪的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用bootstrap很长时间。我注意到一个奇怪的错误今天。我打开mozilla控制台,并有至少一百个错误显示在twitter-bootsrap源。然后我试着插入bootsrap cdn,但仍然有同样的错误。下面是一些错误列表:

I'm using bootstrap for a long time. I'm noticing a weird error today. I'm opening mozilla console and there at least hundred errors showing on twitter-bootsrap source. then I tried to insert bootsrap cdn, but still the same errors. Here is a list of some errors:

Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'. 
Ruleset ignored due to bad selector.

Expected color but found 'auto'.  Expected color but found
'-webkit-focus-ring-color'.  Expected end of value but found
'-webkit-focus-ring-color'.  Error in parsing value for 'outline'. 
Declaration dropped.


Expected end of value but found '\9 '.  Error in parsing value for
'width'.  Declaration dropped.

Error in parsing value for 'background-image'.  Declaration dropped.

Bootstrap有什么问题吗?

Is there anything wrong with bootstrap?

推荐答案

有些CSS元素没有通过验证在Mozilla,但在Chrome中被接受。同样的情况是用Opera,Safari,尤其是IE和其他浏览器。每个浏览器都必须遵循不同的规则。引导和每个质量CSS必须适应所有浏览器,以正常工作。因此,您在控制台中发现的一些元素无效,但在每个浏览器中都会显示不同的错误。

Some CSS elements have not passed validation in Mozilla but is accepted in Chrome. The same case is with Opera, Safari, especially IE and other browsers. Each browser has different rules that must be followed. Bootstrap and every quality CSS must be adapted to all browsers in order to work correctly. Therefore, some of the elements you'll find in consoles as invalid but in every browser shows different errors.

W3验证器仅供参考,不同。

W3 Validator is guide only, in reality, the story is quite different.

这篇关于在bootstrap的奇怪的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆