什么CSS元素控制引导的scrollspy的主动/悬停? [英] What CSS element controls bootstrap's scrollspy's active/hover?

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

问题描述

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.

推荐答案

活动:活动 class(适用于大部分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;
}

来源


EDIT

您的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元素控制引导的scrollspy的主动/悬停?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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