0
我目前使用c9在rails上开发Web服务w/ruby。我已经安装了bootstrap和bootstrap-glyphicon gems。glyphicon不会在c9上显示
问题是,使用相同的代码行,一些glyphicons将显示,但有些不会。 两者的唯一区别是glyphicon类的名称。
这是关于引导宝石(我应该尝试使用CDN?)还是因为目录?
感谢您的帮助!
我目前使用c9在rails上开发Web服务w/ruby。我已经安装了bootstrap和bootstrap-glyphicon gems。glyphicon不会在c9上显示
问题是,使用相同的代码行,一些glyphicons将显示,但有些不会。 两者的唯一区别是glyphicon类的名称。
这是关于引导宝石(我应该尝试使用CDN?)还是因为目录?
感谢您的帮助!
您还需要链接到glyphicon文件中的CSS像这样
@import url("//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css");
或HTML
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css" rel="stylesheet">
能否请您发布一些相关的代码? –