html - How to show blocks for progressbar using CSS -


i have div 100% width on page. need show blocks <div> windows progressbar can tell how can create blocks in div?

looks this:

enter image description here

i copied @anshuman dwibhashi answer, changed background piece of image posted. increase or decrease percentage width of .sub-block change load bar progress.

<div class="main" style="border:solid;background-color:white;width:500px;height:25px;">     <div class="sub-block" style="background:url('http://i.imgur.com/prbmb4s.png');width:30%;height:25px;" ></div> </div> 

enter image description here


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -