I’m using table-stripped
with Twitter Bootstrap.
I can target any other element with hover, everthing is good without table-striped
but when I using table-striped
and some elements can not be activated.
The reason this: table-striped
You can see on JSFiddle for demo
How can I fix this?
2
Answers
It’s because of CSS specificity.
Increase your CSS selector specificity value or use !important if you’re lazy to override bootstrap CSS selectors.
or
Demo
Actually your fiddle doesn’t load bootstrap.css file.
table-striped
is a bootstrap class but it is not loaded in your application so you created a css for the classtable-striped
By loading the bootstrap file in the application, you just need to change the css selector by
Here is the Demo link