I have Card-Mod installed. I wanted to create a horizontal stack, and set the left two items at 42% each, and the third (rightmost item) at 14%. But I cannot see how to do that with the examples at:
This is the UI at this time:
I tried this option
type: custom:mod-card
card_mod:
style:
hui-horizontal-stack-card $: |
div#root > :first-child {
width: 42%;
flex: auto;
}
div#root > :last-child {
width: 16%;
flex: auto;
}
card:
but that did nothing. Note that I have a vertical stack with a markdown at the top, then a horizontal stack with mushroom light card, mushroom fan card, and a button. Then there is another horizontal card with two entities.
If someone can point me in the right direction, that would be much appreciated.
To be clear, the light fan, and whoosh horizontal stack is the one that I want to set 42, 42, 16 on.
Cheers.