mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 14:07:32 +00:00
compress background image with webp
This commit is contained in:
parent
bec02795b8
commit
298da694ca
2 changed files with 12 additions and 0 deletions
|
|
@ -274,6 +274,18 @@ input[type=range]:disabled {
|
|||
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
|
||||
{
|
||||
position: relative;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue