cssParentSelector icon indicating copy to clipboard operation
cssParentSelector copied to clipboard

Problem with Selector.

Open AnghelGabriel opened this issue 12 years ago • 2 comments

Let's say i have this.

  • H4 item

  • list item
  • list item

Css: li.active! h4:hover { do something }

If the active class is changed with javascript on another list item the effect still remains on first list item that was active. I tryed to use it o an accordion type list. And it didn;t work properly.

Regards. P.S nice plugin ;)

AnghelGabriel avatar Dec 07 '12 22:12 AnghelGabriel

Hey, sorry for late response.

This might be hard to fix because I'd have to watch for all DOM elements changes and check in css if there's a rule for changed element.

I'll give it a try but tomorrow. If you have any ideas then I don't mind a brainstorm :)

Thanks

Idered avatar Jan 25 '13 02:01 Idered

Hy, I eventualy made a new html markup and solved my issue with css only. Best Regards.

AnghelGabriel avatar Jan 25 '13 11:01 AnghelGabriel