skip to Main Content

I don’t know how to fix this error i’ve searched for a while and i’m really curious on how to fix it

I’ve searched on stackoverflow i found something but not a fix to this warning, i think is something about the version but i’m not sure i’m not great at css

2

Answers


  1. Vs code gives you that warning because of you are defining appearance only for webkit. It requires also standart property. Webkit prefixes used to browser compatibility. If you are curious about webkit you can check out here.

    To fix warning just add standart property.

    Login or Signup to reply.
  2. You need to add the actual CSS property along with the webkit property as it applies to only specific browsers. Hence you get a warning from VS code.

    Add the "appearance" property in CSS

    .search-box { appearance: none; -webkit-appearance:none }

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