html - Unable to change the background Carousel color -
i trying luck twitter bootstrap. in beginning stages , want customize original carousel pre-defined theme - http://getbootstrap.com/examples/carousel/ have downloaded , put in localhost.
i used chrome developer tools see if can change dark background more pleasant color per requirement. couldn't find color without using color picker - #777777. same color in circles. color mentioned in css color darker 1 opacity set show lighter color.
i able change carousel navigation background gradient have been struggling find how change background color.
i tried search background in css , checked http://bootstrap-live-customizer.com/ (blc) see if can customize it. particular color in list of things customize. downloaded bootstrap.min.css blc results same
i using default page available in github docs/examples/carousel
relevant section
<!-- carousel ================================================== --> <div id="mycarousel" class="carousel slide" data-ride="carousel"> <!-- indicators --> <ol class="carousel-indicators"> <li data-target="#mycarousel" data-slide-to="0" class="active"></li> <li data-target="#mycarousel" data-slide-to="1"></li> <li data-target="#mycarousel" data-slide-to="2"></li> </ol> <div class="carousel-inner" role="listbox"> <div class="item active"> <img class="first-slide" src="data:image/gif;base64,r0lgodlhaqabaiaaahd3dwaaach5baaaaaaalaaaaaabaaeaaaicraeaow==" alt="first slide"> <div class="container"> <div class="carousel-caption"> <h1>example headline.</h1> <p>note: if you're viewing page via <code>file://</code> url, "next" , "previous" glyphicon buttons on left , right might not load/display due web browser security rules.</p> <p><a class="btn btn-lg btn-primary" href="#" role="button">sign today</a></p> </div> </div> </div> <div class="item"> <img class="second-slide" src="data:image/gif;base64,r0lgodlhaqabaiaaahd3dwaaach5baaaaaaalaaaaaabaaeaaaicraeaow==" alt="second slide"> <div class="container"> <div class="carousel-caption"> <h1>another example headline.</h1> <p>cras justo odio, dapibus ac facilisis in, egestas eget quam. donec id elit non mi porta gravida @ eget metus. nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a class="btn btn-lg btn-primary" href="#" role="button">learn more</a></p> </div> </div> </div> <div class="item"> <img class="third-slide" src="data:image/gif;base64,r0lgodlhaqabaiaaahd3dwaaach5baaaaaaalaaaaaabaaeaaaicraeaow==" alt="third slide"> <div class="container"> <div class="carousel-caption"> <h1>one more measure.</h1> <p>cras justo odio, dapibus ac facilisis in, egestas eget quam. donec id elit non mi porta gravida @ eget metus. nullam id dolor id nibh ultricies vehicula ut id elit.</p> <p><a class="btn btn-lg btn-primary" href="#" role="button">browse gallery</a></p> </div> </div> </div> </div> <a class="left carousel-control" href="#mycarousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span> <span class="sr-only">previous</span> </a> <a class="right carousel-control" href="#mycarousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span> <span class="sr-only">next</span> </a> </div><!-- /.carousel -->
css default bootstrap.min.css no changes. i've tried change background on css items , variants on .item, .containter, .carousel.
as understand twitter bootstrap famous, i'm sure i'm missing simple , more advanced users able show me right way this. css same iteration of bootstrap initial stage have not provided css (as it's show).
i searched around , found few stackoverflow q & didn't me.
i believe css selector carousel background following:
.carousel .item { background-color: #777; }
i don't think default, background colour defined within bootstrap.css file looking @ bootstrap examples off website, appears selector using.
Comments
Post a Comment