thomasloven / lovelace-card-mod

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

Add some info on the dollar sign and fix and typo #158

Closed Gramatus closed 2 years ago

Gramatus commented 2 years ago

I suggest three changes to the readme file:

  1. There is no explicit explanation in the readme of what the $ sign does in the modified querySelector() function. I do believe I figured it out by testing and by looking at the _selectTree-function and added a line about that.
  2. I expanded the example on selecting one or many elements with some text I believe makes it more readable.
  3. I fixed what I believe is a typo in the old line 185 where a misplaced colon was confusing me when reading the docs.
thomasloven commented 2 years ago

Thanks!