哪些CSS元素控制引导程序的有效滚动/悬停滚动? [英] What CSS element controls bootstrap's scrollspy's active/hover?

查看:42
本文介绍了哪些CSS元素控制引导程序的有效滚动/悬停滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://examine.com/v5x/creatine.html#summary -将鼠标悬停在摘要上.

http://examine.com/v5x/creatine.html#summary - hover over Summary.

控制它的CSS是什么?我似乎找不到它.

What's the CSS that controls it? I can't seem to find it.

推荐答案

活动:活动类(大多数Bootstrap功能均适用)

Active: active class (true for most Bootstrap features)

悬停:

.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover {
  color: #333333;
  text-decoration: none;
  background-color: transparent;
}

来源


编辑

CSS的3804行:

Line 3804 of your CSS:

.nav-list > .active > a,
.nav-list > .active > a:hover {
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
  background-color: #0088cc;
}

background-color 在这里导致您的蓝色背景.只需将其更改为所需的值,然后将 color 更改为 color:#00A5B5; .

background-color here is causing your blue background. Simply change it to the desired value, and change color to color: #00A5B5;.

这篇关于哪些CSS元素控制引导程序的有效滚动/悬停滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆