在HTML + CSS中不确定的进度条 [英] Indeterminate progress bar in HTML+CSS
本文介绍了在HTML + CSS中不确定的进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个不确定的HTML + CSS进度栏,使其看起来像在Vista上的一样:
我想: p>
- 水平调整进度条宽度(可定义最小和最大宽度)
- css - width:100% b $ b
- 没有Javascript意味着你必须使用html5,这是一个有点棘手。动画GIF只有在您决定将栏固定宽度(否则gif会倾斜)时才会工作。
- 移动它:javascript或html5
- horizontally adjust it to progress bar width (minimum and maximum width may be defined)
- don't use Javascript but rather just animated GIF
- having only one moving indicator on the whole width
- css - width:100%
- no Javascript means you will have to do it with html5 which is a bit trickier. An animated GIF would work only if you decide to make the bar fixed-width (otherwise the gif will be skewed)
- to move it: javascript or html5
任何建议如何做?
解决方案
最简单的方法:javascript(喜欢或不喜欢...))
I would like to create an indeterminate HTML+CSS progress bar so it looks like the one on Vista:
I would like to:
Any suggestions how to do this?
解决方案
The easiest way: javascript (like it or not... ;) )
这篇关于在HTML + CSS中不确定的进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文