The slider you linked to uses the canvas element, which requires javascript to control.
What you want cannot be done only with CSS - you need javascript, but maybe svg can handle it. However, I do not have enough svg experience to know for sure.
x1a4 source
share