Specifying base url for css

前端 未结 3 1066
抹茶落季
抹茶落季 2020-12-05 22:33

I had to split up a long css file. I put the smaller css files within a styles directory.

Now I have to update the the urls to go up one level with the

3条回答
  •  有刺的猬
    2020-12-05 23:03

    As an alternative, you could dynamically add a class to your body tag, and use that in selectors to override css URLs depending on which directory your file is served from.

提交回复
热议问题