skip to Main Content

Suddenly many of my css"code" was red underlined in Visual Studio Code

It worked just some minutes before then I closed vscode to do something else and when I reopened vscode suddenly many red errors popped up. I havent found an answer in the web so I thought best would be here

here is a photo of how the error looks for better understanding

2

Answers


  1. Line 8 looks like you have some accidental ‘text’ there.

    Does deleting that line fix the problem?

    Login or Signup to reply.
  2. The error is in Line 8. Invalid css syntax text. Did you mean to add something like text-decoration: none;.

    Either correct it, or remove that line and you’re ready to go!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search