mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
compress background image with webp
This commit is contained in:
parent
bec02795b8
commit
298da694ca
|
|
@ -274,6 +274,18 @@ input[type=range]:disabled {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports(background-image: -webkit-image-set(url('../gfx/openwebrx-background-cool-blue.webp') 1x)) {
|
||||||
|
#webrx-canvas-background {
|
||||||
|
background-image: -webkit-image-set(url('../gfx/openwebrx-background-cool-blue.webp') 1x);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@supports(background-image: image-set(url('../gfx/openwebrx-background-cool-blue.webp') 1x)) {
|
||||||
|
#webrx-canvas-background {
|
||||||
|
background-image: image-set(url('../gfx/openwebrx-background-cool-blue.webp') 1x);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#webrx-canvas-container
|
#webrx-canvas-container
|
||||||
{
|
{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
|
||||||
BIN
htdocs/gfx/openwebrx-background-cool-blue.webp
Normal file
BIN
htdocs/gfx/openwebrx-background-cool-blue.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Loading…
Reference in a new issue