小编par*_*guy的帖子

进度条 chrome 的样式问题

我有一个 html 程序,其中有一个进度元素。它在 Firefox 中变成蓝色,但拒绝在 Chrome 中工作,并且变成绿色,这是我不想要的。我的代码

progress {
  color: #0063a6;
  font-size: .6em;
  line-height: 1.5em;
  text-indent: .5em;
  width: 30em;
  height: 3em;
  border: 1px solid #0063a6;
  background: #fff;
}
Run Code Online (Sandbox Code Playgroud)
<progress value ="50" max ="100"></progress>
Run Code Online (Sandbox Code Playgroud)

css google-chrome progress

2
推荐指数
1
解决办法
4241
查看次数

标签 统计

css ×1

google-chrome ×1

progress ×1