2013-07-26 6 views

Antwort

34

die Bootstrap-Klasse überschreiben .carousel-indicators li in einer anderen Datei, so etwas wie diese:

.carousel-indicators li { 
    background-color: #999; 
    background-color: rgba(70,70,70,.25); 
} 

.carousel-indicators .active { 
    background-color: #444; 
} 
+0

ausgezeichnet ... Danke! – JaJ

+4

Sie können auch die Umrandung um den Indikator anpassen: 'border: 1px solid # 444;' –

5

vergessen Sie nicht Punkt wichtig, nach Stilen:

.carousel-indicators li { 
    background-color: #999 !important; 
    background-color: rgba(70,70,70,.25) !important; 
} 

.carousel-indicators .active { 
    background-color: #444 !important; 
} 
+1

Die Deklaration '! Wichtig' ist nicht obligatorisch und auch eine schlechte Übung. Sehen Sie mehr hier: http://stackoverflow.com/questions/3706819/what-are-the-implications-of-using-important-in-css – thiagobraga

+0

Sie haben Recht ... –

Verwandte Themen