Thank you that was it.
Also discovered “transform: rotate” and “transform-origin” while searching for examples
“Transform: scale” is not documented under custom_button_card and very few examples in the associated thread… So thanks again for this.
While I’m at it, is it possible to change the aspect ratio of the icon itself? Ie: make it wider/taller, or will it always stay 1/1? It works with entity_picture but I can’t find a way to change it for icon.
Sorry, maybe my question was not clear:
Can we change size on one axis only (width only or height only)?
meaning the icon would be squeezed/stretched and would not keep it’s current 1:1 aspect ratio, which seems to be the standard behavior.