Viewport argument value “device-width;” for key “width” is invalid, and has been ignored. Note that

前端 未结 1 1102
天命终不由人
天命终不由人 2021-02-02 10:56

I am getting this error in JavaScript:

Viewport argument value \"device-width;\" for key \"width\" is invalid, and has been ignored. Note that \';\' is no

相关标签:
1条回答
  • 2021-02-02 11:35

    I had this same error. Oddly, it's quite simple to fix. Just change the semicolons for commas, like in:

    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=yes">
    
    0 讨论(0)
提交回复
热议问题