html - Bootstrap customizing accordion -


i creating accordions using bootstrap, each accordion uses following div:

<div class="panel-group" id="accordion"> 

and each header uses:

         <div class="panel-heading">                     <h4 class="panel-title">                         <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseone">heading</a>                     </h4>                 </div> 

using css, how can style text white instead of black? put style="color: white" inside tag of each header, have use accordion many times , headers should have white text. best way override default black text?

you can use class selector achieve same. refer below css

<style> .panel-title a{    color: white !important; } </style> 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -