compress background image with webp

This commit is contained in:
Jakob Ketterl 2020-09-05 01:10:08 +02:00
parent bec02795b8
commit 298da694ca
2 changed files with 12 additions and 0 deletions

View File

@ -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;

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB