icomoon不在服务器上工作,但在localhost上工作

时间:2015-04-04 19:19:00

标签: html5 css3

我的文件夹结构是

的index.php

css - > master.css

插件 - > icommon - >的style.css

在master.css中

我正在使用@import url(' ../ plugins / icomoon / style.css');

Icomoon字体在localhost中运行良好,但在服务器上运行不正确

1 个答案:

答案 0 :(得分:0)

我认为你应该使用绝对路径。例如:

http://my-web.example.com/my-section/plugins/icomoon/style.css
相关问题