0

Please help me i have made a class in html and using in css buy selector . (dot) but VScode is showing error

.header-area{

}

wamology
  • 1
  • 1
  • 1
  • Does this answer your question? [Visual Studio Code CSS error "Do not use empty rulesets"](https://stackoverflow.com/questions/32464170/visual-studio-code-css-error-do-not-use-empty-rulesets) – Chrisuu Jan 16 '23 at 20:21

1 Answers1

0

VScode provides you with a helpful CSS linter, this is basically telling you that you should have something inside your class. e.g.

.header-area{} - will throw a warning,

.header-area{background-color:red;} - will not throw a warning

Aaron McGuire
  • 1,217
  • 10
  • 14