我有一个 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)