mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Change transparency into opacity (#36612)
This commit is contained in:
parent
43afc5867d
commit
90d5287c94
@ -208,7 +208,7 @@ background:
|
||||
required: false
|
||||
description: Sets the background image to use behind the view.
|
||||
type: string
|
||||
transparency:
|
||||
opacity:
|
||||
required: false
|
||||
description: Adjust the background's opacity, from fully opaque to transparent.
|
||||
type: integer
|
||||
@ -241,7 +241,7 @@ background:
|
||||
# Example background section in view yaml
|
||||
background:
|
||||
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
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user