13 Replies
What is wrong with this code?
I'm trying to make it that when i hover on the .column-diensten, every other class mentioned will invert
first one will work for an element with class .et-pb-icon that is inside element with class .et_ob_blurb_0 that is inside element with class .column-diensten that is inside element with class column-diensten
So maybe something like this?
I deleted the class .column-diensten after the ">"
this is html https://codepen.io/MannixMD/pen/rNvPLxV
i'm guessing your is different
this is my html,
i'm working in wordpress
i'm trying to say, when i hover over the grey area '.column-diensten'
Then everything will turn white or invert
try
.column-diensten * {}
that works except for the button
then you need add separate rule for button. I suspect specificity issue
tip: use your inspector and see what styles are applied on the button.
i somehow found it
thanks!
didn't know you could use * wiht something like this