浏览器支持Bootstrap 3进度条

时间:2015-01-07 07:48:23

标签: twitter-bootstrap-3 asp.net-mvc-5 progress-bar browser-support

我正在编写一个需要使用进度条的MVC 5视图,并且不确定最佳方法。我想在以下资源中使用Bootstrap 3进度条:http://getbootstrap.com/components/#progress

在资源页面上有以下消息:

Cross-browser compatibility
Progress bars use CSS3 transitions and animations to achieve some of their effects. These features are not supported in Internet Explorer 9 and below or older versions of Firefox. Opera 12 does not support animations.

我的问题是:我应该使用适用于所有浏览器的不同进度条,还是可以安全地说应该使用Bootstrap 3进度条?

提前致谢。

1 个答案:

答案 0 :(得分:1)

所有浏览器都支持进度条。只有旧版浏览器不支持条纹渐变和CSS3动画。如果您使用条带进度条(.progress-bar-striped),旧的浏览器(IE 9及更低版本)将显示为一个简单的进度条,但它的动态宽度更改将正常工作。

看看这些browser statistics。总而言之,这取决于您构建此网站的对象 - 您的用户是否拥有旧浏览器或新浏览器?