2011-05-06 14:00:30 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<style>
|
|
|
|
div.progress-element {
|
|
|
|
/**
|
|
|
|
* The purpose of this test is to not show the native style.
|
|
|
|
* -moz-appearance: progressbar;
|
|
|
|
*/
|
|
|
|
display: inline-block;
|
|
|
|
height: 1em;
|
|
|
|
width: 10em;
|
|
|
|
vertical-align: -0.2em;
|
|
|
|
|
2017-03-24 01:13:18 +03:00
|
|
|
/* Default style in case of there is -moz-appearance: none; appearance: none; */
|
2011-05-06 14:00:30 +04:00
|
|
|
border: 2px solid;
|
2011-05-24 00:51:03 +04:00
|
|
|
-moz-border-top-colors: ThreeDShadow #e6e6e6;
|
|
|
|
-moz-border-right-colors: ThreeDHighlight #e6e6e6;
|
|
|
|
-moz-border-bottom-colors: ThreeDHighlight #e6e6e6;
|
|
|
|
-moz-border-left-colors: ThreeDShadow #e6e6e6;
|
|
|
|
background-color: #e6e6e6;
|
2011-05-06 14:00:30 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
div.progress-bar {
|
|
|
|
/**
|
|
|
|
* The purpose of this test is to not show the native style.
|
|
|
|
* -moz-appearance: progresschunk;
|
|
|
|
*/
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
|
2014-02-06 23:32:05 +04:00
|
|
|
box-sizing: border-box;
|
2011-05-16 14:19:27 +04:00
|
|
|
|
2017-03-24 01:13:18 +03:00
|
|
|
/* Default style in case of there is -moz-appearance: none; appearance: none; */
|
2011-05-24 00:51:03 +04:00
|
|
|
background-color: #0064b4;
|
2011-05-06 14:00:30 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
div.progress-element { padding: 5px; }
|
2017-03-24 01:13:18 +03:00
|
|
|
body > div:nth-child(1) { -moz-appearance: none; appearance: none; }
|
|
|
|
body > div:nth-child(2) > .progress-bar { -moz-appearance: none; appearance: none; }
|
2011-05-06 14:00:30 +04:00
|
|
|
body > div:nth-child(3) { background-color: red; }
|
|
|
|
body > div:nth-child(4) > .progress-bar { background-color: red; }
|
|
|
|
body > div:nth-child(5) { border: 2px solid red; }
|
|
|
|
body > div:nth-child(6) > .progress-bar { border: 5px solid red; }
|
|
|
|
</style>
|
|
|
|
<body>
|
|
|
|
<div class="progress-element">
|
|
|
|
<div class="progress-bar"></div>
|
|
|
|
</div>
|
|
|
|
<div class="progress-element">
|
|
|
|
<div class="progress-bar"></div>
|
|
|
|
</div>
|
|
|
|
<div class="progress-element">
|
|
|
|
<div class="progress-bar"></div>
|
|
|
|
</div>
|
|
|
|
<div class="progress-element">
|
|
|
|
<div class="progress-bar"></div>
|
|
|
|
</div>
|
|
|
|
<div class="progress-element">
|
|
|
|
<div class="progress-bar"></div>
|
|
|
|
</div>
|
|
|
|
<div class="progress-element">
|
|
|
|
<div class="progress-bar"></div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|