Created
August 16, 2017 08:40
-
-
Save dotmh/59dfcddaed2d686108fda50a5c944dff to your computer and use it in GitHub Desktop.
Make an Frameless electron app Dragable, create a dragging region i.e. div and apply the follow CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.region { | |
position: absolute; | |
width: 125px; | |
height: 81px; | |
left: 0; | |
top: 0; | |
-webkit-app-region: drag; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment