Home › Forums › CSS › [Solved] :active doesn't work when element has inline-css › Reply To: [Solved] :active doesn't work when element has inline-css
August 18, 2015 at 2:02 pm
#206721
Participant
1) Your CSS calls for #site_index .square-box:active
, there is no #site_index
.
2) Even removing that, yes inline styles will overwrite :active
, :hover
, etc.
But, you can check this out: https://css-tricks.com/override-inline-styles-with-css/
Maybe that’ll help.