Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/36.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在Google Chrome中创建垂直html5进度条_Html_Css - Fatal编程技术网

如何在Google Chrome中创建垂直html5进度条

如何在Google Chrome中创建垂直html5进度条,html,css,Html,Css,有可能在谷歌Chrome上制作垂直HTML5进度条吗 在Mozilla Firefox中,可以通过以下方式完成: <style> .vert { -moz-orient: vertical; } </style> <progress class="vert" style="position: absolute; top: 0px; left: 0px;" value="10" max="100" id="progressBar">

有可能在谷歌Chrome上制作垂直HTML5进度条吗

在Mozilla Firefox中,可以通过以下方式完成:

<style>
    .vert {
        -moz-orient: vertical;
    }
</style>
<progress class="vert" style="position: absolute; top: 0px; left: 0px;"
value="10" max="100" id="progressBar">No progress bar</progress>

维特先生{
-莫兹方向:垂直;
}
无进度条

我想您需要
-webkit-box-orient

从中签出。您可以旋转它:

Webkit:
-Webkit变换:旋转(90度)

FireFox:
-moz变换:旋转(90度)


IE:
过滤器:progid:DXImageTransform.Microsoft.BasicImage(旋转=1)

-webkit transform将其旋转,但elemet的位置与(0,0)不同,现在看来这种样式是一种解决方案:
-webkit transform:rotate(-90度)translateY(-1000%)-webkit转换来源:100%0%我上面发布的样式解决了我的问题。但也许有更好的解决方案存在……我不认为它会变得更容易。@MattK这有很多限制。例如,宽度/高度参考。