是否有任何颜色的html5进度标签的可能性? [英] Is there any possibility to color the html5 progress tag?

查看:143
本文介绍了是否有任何颜色的html5进度标签的可能性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有可能在css中为进度标签着色吗?我试过了。但只有宽度和高度是工作。

Is there any possibility to color the progress tag in css? I tried it. But only width and height is working. I want to skin the color of progression(inner color which shows the percentage of download).Is it possible?

推荐答案

这是您正在寻找:

progress[value] {color:red} /* IE10 */
progress::-webkit-progress-bar-value {background:red}
progress::-webkit-progress-value {background:red}
progress::-moz-progress-bar {background:red}

它在 Chrome Firefox 6

IE10还支持 :: - ms-fill pseudo-element。

It's working just fine on Chrome and Firefox 6.
IE10 also supports the ::-ms-fill pseudo-element.

这篇关于是否有任何颜色的html5进度标签的可能性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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