thingsinjars / jQuery-Scoped-CSS-plugin

DEPRECATED: A jQuery plugin to enable the scoped attribute on style blocks
http://thingsinjars.com/post/359/css-scoped/
MIT License
168 stars 36 forks source link

Ignore parent styles #10

Open jaymoore opened 8 years ago

jaymoore commented 8 years ago

I may not be applying the plugin correctly? I want to ignore all styles outside my scoped div.

https://plnkr.co/edit/JiU7kXZPKyTLlKM7aXza?p=preview

What am I doing wrong?

akbargumbira commented 8 years ago

Hi, have you worked it out? I also have the same problem

maksymiliansielicki commented 6 years ago

The problem is with jQuery. I replaced the 1.x.x version in your example with a newer one and the plugin worked just fine.