Wrong thread, button-card has own ways to define css properties. This is the main button-card thread.