v152 ยท window-drag

Custom titlebar safe zones

This page uses the actual CSS property name window-drag and reports whether the current browser accepts the standardized move/none values. Outside installed desktop app windows, it remains a safe visual and computed-style probe.

Mark only the titlebar as draggable

Project dashboard

The dark titlebar receives window-drag: move. Buttons inside it explicitly receive window-drag: none so clicks still activate controls instead of moving the window.

The titlebar starts in draggable mode.

code path

.titlebar { window-drag: move; }
.titlebar button { window-drag: none; }

see also