Unexpected token in CSS when editing it in vnext

后端 未结 2 2188
离开以前
离开以前 2021-02-19 00:36

When I try to write some css through Vnext or Webmatrix v2 beta I got error that unxpected token : sometime I change something and got error that unexpected error ;

Whe

相关标签:
2条回答
  • 2021-02-19 01:09

    Maybe Vnext is expecting the : to be beside the background-color?

    Try this

    background-color: Aqua

    0 讨论(0)
  • 2021-02-19 01:14

    The error suggests that you're trying to load your CSS as if it were Javascript.

    0 讨论(0)
提交回复
热议问题