HTML5中的进度条progress元素简介及兼容性处理

2020-04-22 06:33:32易采站长站整理

    display:block;   
    height: 100%;   
    background: #0064B4;   
}   
progress::-moz-progress-bar { background: #0064B4; }   
progress::-webkit-progress-bar { background: #e6e6e6; }   
progress::-webkit-progress-value  { background: #0064B4; }  

基本上完美的解决了各浏览器的差别。