css only for parent code example
Example: styles for parent of selector
Short answer: no such selector exists. Use JavaScript
Long answer: by Kaotik below
Short answer: no such selector exists. Use JavaScript
Long answer: by Kaotik below