GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

04A Sundial Under a Virtual Sun on an Arc

The shadow length comes from height divided by the tangent of the sun elevation, and both direction and length follow a fixed arc.

Best forA section that introduces times of day

SUN_ARC_DEGSHADOW_LEN_MAXGNOMON_HEIGHT
A Sundial Under a Virtual Sun on an Arc
Open in a new tab

04 A Sundial Under a Virtual Sun on an Arc — Measured area 28.476% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · CSS Shadow Effects: 9 Demos That Compute the Cast

The post this demo lives in

CSS Shadow Effects: 9 Demos That Compute the Cast - preview of all 9 demosCSS Shadow Effects: 9 Demos That Compute the CastWith css shadow effects from one box-shadow line, the shadow stays put as the light circles, light leaks behind walls an See all demos in this post

If you like this effect - similar demos