Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Rails 应用程序中,我添加了:
gem 'mobiscroll-rails'
我跑了 $ bundle install
但是,我认为没有任何 mobiscroll 文件被加载到我的应用程序中。
我错过了什么?
谢谢!
您可能必须添加//= require mobiscroll到您的application.js和*= require mobiscroll您的application.css.
//= require mobiscroll
application.js
*= require mobiscroll
application.css
我有一张带有常用标签的 ccs 表。{} a.hover {}
我还有一个 div=id "footer" 我想改变字体样式但是全局 a. 和 a.hover 即使我添加了一个
#footer{ color: #333333 }
我可以使用它覆盖还是需要尝试?a.#footer或者a.hover
a.#footer
a.hover