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 应用程序的早期阶段。我想要做的是将光标悬停在链接上时删除链接上的黑色背景(如图所示)。如何?我没有在 css 文件上添加任何内容。我正在使用 Rails 3.2
似乎是这的罪魁祸首在assets/stylesheets/scaffolds.css.scss
assets/stylesheets/scaffolds.css.scss
a:hover { color: #fff; background-color: #000; }
我只能说一个:
a:hover { background-color:transparent; }