bootstrap无效的CSS选择器按钮:: - moz-focus-inner

时间:2013-09-22 06:09:15

标签: twitter-bootstrap

我的编辑是rubymine5.4.3 我在官方页面上下载bootstrap 2.3.2,当我在index.html下面使用它时(我点击shift + f9(调试这个html))

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>ex</title>
  <meta name="description" content="ex">
  <link rel="stylesheet" href="css/bootstrap.css"/>
  <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript" src='js/bootstrap.js'></script>
  <script type="text/javascript">

  </script>
</head>
<body>

</body>
</html>

得到以下错误:

Invalid CSS selector: button::-moz-focus-inner,
input::-moz-focus-inner lib/ex/template/ex/css/bootstrap.css:130
Invalid CSS selector: input:-moz-placeholder,
textarea:-moz-placeholder   lib/ex/template/ex/css/bootstrap.css:1239
Invalid CSS selector: input:-ms-input-placeholder,
textarea:-ms-input-placeholder  lib/ex/template/ex/css/bootstrap.css:1244
Invalid CSS selector: button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner  lib/ex/template/ex/css/bootstrap.css:3564
Invalid CSS selector: .navbar-inverse .navbar-search .search-query:-moz-placeholder lib/ex/template/ex/css/bootstrap.css:4891
Invalid CSS selector: .navbar-inverse .navbar-search .search-query:-ms-input-placeholder    lib/ex/template/ex/css/bootstrap.css:4895
nimabi  lib/ex/template/ex/index.html:11

1 个答案:

答案 0 :(得分:0)

-moz前缀仅由Mozilla浏览器(Firefox)识别。 -ms前缀仅由IE识别。您可以放心地忽略这些错误。