css - Different striping for table heading with twitter bootstrap -


the bootstrap guide has info on how add striped rows table. in examples given, heading row (which contains "#", "first name",...) has same striping row 2 ("2", "jacob", ...).

is there "bootstrap way" of changing striping of heading row, opposed specifying in css background color of <th> element?

changing order of striping, such heading row started grey, , example #2 grey, heading row , example #2 used same shade of grey, wouldn't solve problem. heading row special, should have own special background shade.

you can use bootstrap helper classes add deferent shade of color this

<thead class="bg-success"></thead> 

bootstrap striped table

but colors limited 5 more color available other white , grey. can find them here.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -