mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Change transparency into opacity (#36612)
This commit is contained in:
parent
43afc5867d
commit
90d5287c94
@ -208,7 +208,7 @@ background:
|
|||||||
required: false
|
required: false
|
||||||
description: Sets the background image to use behind the view.
|
description: Sets the background image to use behind the view.
|
||||||
type: string
|
type: string
|
||||||
transparency:
|
opacity:
|
||||||
required: false
|
required: false
|
||||||
description: Adjust the background's opacity, from fully opaque to transparent.
|
description: Adjust the background's opacity, from fully opaque to transparent.
|
||||||
type: integer
|
type: integer
|
||||||
@ -241,7 +241,7 @@ background:
|
|||||||
# Example background section in view yaml
|
# Example background section in view yaml
|
||||||
background:
|
background:
|
||||||
image: /local/background.png
|
image: /local/background.png
|
||||||
transparency: 50 # any percentage between 0 and 100
|
opacity: 50 # any percentage between 0 and 100
|
||||||
size: auto # auto, cover, contain
|
size: auto # auto, cover, contain
|
||||||
alignment: center # top left, top center, top right, center left, center, center right, bottom left, bottom center, bottom right
|
alignment: center # top left, top center, top right, center left, center, center right, bottom left, bottom center, bottom right
|
||||||
repeat: no-repeat # repeat, no-repeat
|
repeat: no-repeat # repeat, no-repeat
|
||||||
|
Loading…
x
Reference in New Issue
Block a user