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.
你能告诉我如何将引导轮播标题颜色设置为无吗?我已经通过以下代码做到了这一点,但它没有用
.carosel-caption{ background-color: none !important;}
你拼错了课程;它应该是.carousel-caption- 您也不能none用作background-color属性的值,尽管它在background简写和 in 中有效background-image,因此请尝试:
.carousel-caption
none
background-color
background
background-image
.carousel-caption { background: none !important; }