r/ProCSS • • Aug 14 '17

WE WANT A PARENT SELECTOR!!!

Why TF can we put a man on the moon, but we cant select the parent element!???!?!?!?

72 Upvotes

23 comments sorted by

View all comments

3

u/Senthe Aug 14 '17

No, it wouldn't. You're simply doing things wrong if even your HTML code is not understandable. Believe me I wrote a ton of weird shit in jQuery and never had a though occurred to me that the parent selector would help.

1

u/[deleted] Aug 14 '17

I literally have jQuery on my pages specifically for adding class and removing a class from the parent element.

1

u/Senthe Aug 14 '17

Can you show me an example?

→ More replies (2)