thomasloven / lovelace-card-mod

🔹 Add CSS styles to (almost) any lovelace card
MIT License
1.05k stars 169 forks source link

CSS elements/style #298

Closed mikekenyon99 closed 9 months ago

mikekenyon99 commented 9 months ago

Hi,

Apologies if this is a stupid question but for a given card in my dashboard how do I find out what the name of the CSS elements are that I can then style? Do you have to use the Inspector in your web browser and then find out the name of the CLASS= in the DIV tag?

Thanks

Mike

ildar170975 commented 9 months ago

Inspector in your web browser and then find out the name of the CLASS= in the DIV tag?

Correct. Suggest to check Community thread: https://community.home-assistant.io/t/card-mod-add-css-styles-to-any-lovelace-card/120744 Also, check a link at the end of the 1st post, it will give examples which you may use as a starting point.

mikekenyon99 commented 9 months ago

Much appreciated!

ildar170975 commented 9 months ago

close the issue then if solved