Periods are removed from pseudo classes

Bricks Version: 1.4.0.2
Browser: Chrome 90
OS: macOS

If I want to use a period in my pseudo-class, it gets removed. This stops me from being able to affect children based on parent states like :is(.card:hover *)

1 Like

Hi Christian,
Thanks so much for your report!

At the moment the still quite young pseudo-selectors like :is, :where etc. are not yet supported in Bricks. However, they are on our radar. When we will integrate them, I can’t say yet.

In the meantime, you have to use custom CSS if you want to use them.

Best regards,
timmse

Ok, so if it’s on your radar already I guess submitting it as an idea isn’t necessary. It sure will be useful once it’s integrated.

I also sent through an idea earlier about allowing placement of the item selector within the pseudo-classes using “&” that would pair well with this.

I assume submitting it as an idea would still help them with prioritization since it can be voted on, shouldn’t hurt anyways.

3 Likes

Yep, submitting it on the Idea Board can’t hurt :slight_smile:

I have submitted it to the idea board.’

Thanks!

This is mostly solved with 1.5 RC! The only issue I see that remains is that the pseudo-class doesn’t apply in the preview. Viewing on the front end works fine.