Making a Transparent Titlebar Draggable (macOS only)

By default, a tranparent title bar is not draggable, you will need to add some CSS styles to your site to make the window draggable.

You can give an element have the ability to drag the window by using-webkit-app-region: drag in css.

If you want certain elements marked as non-draggable then you can use-webkit-app-region: no-dragSo, you might end up doing something like this:

html.todesktop .header {
-webkit-app-region: drag;
}
html.todesktop .header .nav {
-webkit-app-region: no-drag;
}

The html.todesktop class pre-selector will ensure that the css is only applied when running as a desktop app.