Transparent window that can support various degrees of transparency


#1

Is there a way of supporting various degrees of transparency (from total opaque to total transparent) using Electron ?


#2

Yes -

When you create your BrowserWindow object, specify {“transparent”: true},
then use RGBA to set your colors:

footer {
  background: rgba(192, 192, 192, 0.75);
}

#3

thanks @theGleep…that works


#4

Glad to help!