是否有可能为html5进度标签着色? [英] Is there any possibility to color the html5 progress tag?
本文介绍了是否有可能为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 伪元素。
It's working just fine on Chrome and Firefox 6.
IE10 also supports the ::-ms-fill pseudo-element.
这篇关于是否有可能为html5进度标签着色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文