Negate conditional styling? #580
Unanswered
treehousekingcomic
asked this question in
Help
Replies: 1 comment
-
I have also had trouble keeping Pico out of libraries that have their own styles. The best I've come up with is this:
This helps but does not fully prevent Pico from styling within the library's element. I'm not sure if I'm doing it wrong or if not everything in Pico respects the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found this issue and this post.
Is there a way to achieve
.!pico
?I'm doing something similar but regular conditional styling won't help because my whole site uses PicoCSS including for the main container and layout so any children will always get PicoCSS. However, Pico breaks a library I'm using which creates and inserts its own elements thus I'm trying to find a way to exclude PicoCSS from a specific container which itself might be in a parent with Pico.
Beta Was this translation helpful? Give feedback.
All reactions