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

02Viewport edge flip — the opening direction value reverses once the position value reaches a screen edge

Once the menu box's right edge coordinate value passes the screen width value, the opening direction value flips to the left, and the same happens downward with an upward direction value.

Best forRight-clicking an element near the right edge, right-clicking an element near the bottom edge

flipFor(x, y)flip-x / flip-y(x + mw) > vw
Viewport edge flip — the opening direction value reverses once the position value reaches a screen edge
Open in a new tab

02 Viewport edge flip — the opening direction value reverses once the position value reaches a screen edge — Measured area 45.69% · moving frames 8/23Original by GODRICH · SCSS and React ship in the zip · Context Menu UI: 9 Right-Click Menu Patterns

The post this demo lives in

Context Menu UI: 9 Right-Click Menu Patterns - preview of all 9 demosContext Menu UI: 9 Right-Click Menu PatternsOne menu position value is set from the clicked coordinate value, one flips its direction value near a screen edge, and See all demos in this post

If you like this effect - similar demos