I know this title it's a bit (ok, a lot) ambiguous.
What I am really asking here it's quite simple:
I have a round slider, that uses and handle (the javascript code add transform(rotate(xDeg);
to the handle DOM element, so that it follows the round track.
That's fine, but I'd like to add a shadow always displaying at the bottom (lights coming from the top) on this handle.
The way I was thinking about (and that I actually try) was to create a pseudo element (:after
) and then force this element to stay o deg when rotating, but unfortunately this doesn't work as apparently the element rotates anyway as the parent does.
here's a quick pen explaining what I am talking about:
http://codepen.io/NickHG/pen/jBXxLd
Long story short: is it possible to fix the shadow? suggestions on how can I achieve this? thanks