Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy does progress { border: 0 } remove the default appearance of <progress>?
    text
    copied!<p><strong>Tested in:</strong> Chrome 23, Firefox 15, Opera 11 (don't have IE10 or Safari 6)</p> <p>With this HTML:</p> <pre><code>&lt;progress value=3 min=1 max=10&gt;&lt;/progress&gt; </code></pre> <p>and this CSS:</p> <pre><code>progress { border: 0 } </code></pre> <p>...the default browser rendering of the element disappears. Instead, it's replaced by a basic bar. Firebug and Chrome's web inspector indicate that the element did not initially have border-width.</p> <p>Oddly, if <code>0</code> is replaced with <code>none</code>:</p> <pre><code>progress { border: none } </code></pre> <p>...Chrome is unaffected, but FF and Opera are the same.</p> <p>Incidentally, how then can this basic bar be styled? Where does documentation for this sort of thing (and others, such as styling <code>input[type=file]</code>) exist?</p> <p><hr /> <strong>Screenshots:</strong> <br /> The first progress bar is always the native, unstyles variant. <br /> <br /> Chrome 23, Windows 8: <br /> <img src="https://i.stack.imgur.com/hYKfw.png" alt="Chrome 23, Windows 8"></p> <p>IE 10, Windows 8: <br /> <img src="https://i.stack.imgur.com/I6VgY.png" alt="IE 10, Windows 8"></p> <p>Chrome 23, Mac OS X 10.6.8: <br /> <img src="https://i.imgur.com/2veMf.png" alt="Chrome 23, OS X 10.6.8"></p> <p>Firefox 15, Mac OS X 10.6.8: <br /> <img src="https://i.imgur.com/yBelX.png" alt="Firefox 15, OS X 10.6.8"></p> <p>Opera 12, Mac OS X 10.6.8: <br /> <img src="https://i.imgur.com/lzcbz.png" alt="Opera 12, OS X 10.6.8"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload