Hey there, I’m in need of some help with CSS styling in the picture elements card. Here is a snippet of my card
type: picture-elements
elements:
- type: state-badge
title: null
color: transparent
entity: sensor.dining_room_motion_detector_temperature
style: |
.element {
top: 40%
left: 64%
background-color: blue
}
- type: state-badge
title: null
color: transparent
entity: sensor.dining_room_motion_detector_temperature
style:
top: 40%
left: 64%
background-color: blue
I can get the second half to work the way I want, but the first element doesn’t work. How does the bar (’|’) work in Home Assistant/CSS because I have no idea what to even look for.