electron-vibrancy
electron-vibrancy copied to clipboard
Unable to set window border radius
Hello, how can I set border radius of the window with the spec/app sample project?
Not is possible. In electron to set border radius you need transparent frame and after with css you can apply styles in a div (windows, mac by default come with border radius). If you use this css with electron-vibracy you'll see the blur effect behind with the square corner
.myDiv{ border: solid #000000 1px; box-sizing: border-box; background-color: rgba(0, 0, 0, 0.50); border-radius: 4px; }