Bootstrap css errors in the console

前端 未结 2 1025
无人共我
无人共我 2021-01-13 05:24

I downloaded the boostrap.min.css version from here. But in the console its showing me a lot of errors. Check the image:<script

相关标签:
2条回答
  • 2021-01-13 06:08

    Bootstrap has added vendor prefixes in css for cross browser support. Here -webkit- is for webkit engine (chrome, safari) and -o- is for opera. the -webkit-gradient rule is a bit old and was later replaced by -webkit-linear-gradient. The errors are there because, firefox does not recognize the webkit or opera prefixes. The errors can be ignored and they are to implement css3 experimental features maintaining cross browser issues.

    0 讨论(0)
  • 2021-01-13 06:13

    The error messages you can see in console is actually warnings. In firefox debugger if you go to css dropdown in console tab, you can see warning option is checked. If you uncheck this option all these error messages will disappear.

    0 讨论(0)
提交回复
热议问题