I have a probably pretty basic syntax question regarding the usage of Card-mod to add CSS style to your cards. (I am a layman in programming)
How do I combine these two?
card_mod:
style:
mushroom-shape-icon$: |
.shape {
--icon-symbol-size: 25px;
--icon-size: 30px;
}
card_mod:
style: |
ha-card {
border: none
}
If I directly add the multieline “ha-card border: none” code into the first one it won’t work because that needs a pipe symbol after style. I guess one solution is to write “ha-card border: none” in a single line but I don’t know the syntax for it.
Would greatly appreciate help with this matter.