Html Twitter引导响应导航(btn导航栏、图标栏)颜色更改

Html Twitter引导响应导航(btn导航栏、图标栏)颜色更改,html,css,sass,less,twitter-bootstrap-rails,Html,Css,Sass,Less,Twitter Bootstrap Rails,我正在使用Bootstrap,并专注于移动导航。当鼠标悬停在上方时,图标三条水平线的背景颜色为灰色;但是,背景色仅位于图标的中间位置,请参见图片。我不介意这个背景色,但我想在完整的图标上方加上圆形边缘,因为它们在底部。我怎样才能做到这一点?任何想法/建议都将不胜感激 您需要更改为图标栏颜色,如所示: <span class="icon-bar"></span> 您还可以设置按钮的背景色 .navbar-toggle { background-color: #66

我正在使用Bootstrap,并专注于移动导航。当鼠标悬停在上方时,图标三条水平线的背景颜色为灰色;但是,背景色仅位于图标的中间位置,请参见图片。我不介意这个背景色,但我想在完整的图标上方加上圆形边缘,因为它们在底部。我怎样才能做到这一点?任何想法/建议都将不胜感激


您需要更改为图标栏颜色,如所示:

<span class="icon-bar"></span>
您还可以设置按钮的背景色

.navbar-toggle {
    background-color: #666;
}
如果要更改焦点颜色,只需调整引导中的:Focus标记即可:

.navbar-toggle:focus {

// set the new color here for focus

}


你的密码在哪里?你试过什么?
.navbar-toggle:focus {

// set the new color here for focus

}
.navbar-toggle:focus .icon-bar {

// here for the 3 white Stripes

}