I canβt help you do it the way you started, but taking the original overall picture of trying to make vertical progress, here is an alternative that uses the progressbar on Twitter Bootstrap . In its existing form, it does not execute vertical progress indicators, but this modification does.
I initially suggested using stacked columns, but this does not work with vertical implementation. Instead, I have a solution that uses CSS gradients to draw blocks, but still uses a normal bootstrap progress bar.
.progress.discrete { background-image: linear-gradient(0deg, black 0%, green 5%, green 95%, black 100%); background-size: 100% 10%; background-repeat: repeat-y; } .progress.discrete .bar { background-image: linear-gradient(to right, #f5f5f5, #f9f9f9); }
I suggested that you want your blocks to be a percentage of the height of the bar, and not the absolute size - this means that I can not apply the gradient to the panel. Instead, it can be applied to the background, and the panel used to overlap it (i.e. set the bandwidth to 100-progress%). I also included an example that uses a fixed block size applied to a panel, if that is what you wanted.
http://jsfiddle.net/BHTXZ/3/
He needs to clean up a bit, but does the trick.
source share