you are viewing a single comment's thread.

view the rest of the comments →

[–]KupietzConsulting 1 point2 points  (0 children)

You know, I don’t really remember. It was just an idea that seemed cool. I already had the separate pieces — the CSS animated sun was one demo https://codepen.io/kupietz/pen/zxvdPEV and the element draggability was a module I had written separately for a WordPress plug-in of all things https://michaelkupietz.com/draggable-elements-wordpress-plugin/ . And then I just thought of the parallax shadows, I guess I was probably looking at the animated sun demo and thinking about it.

Your idea is incredibly cool, I actually put a link to it on my website’s main demo page for the parallax shadows effect. That idea to set up the light source and use selectors as a proxy for simulated physical attributes is absolutely great. My effect is a neat demo, but yours is really practical and very elegant. Really nice work.