";s:4:"text";s:3296:"Example of valid selectors under this specification:will set a red background-color if the user hovers over any anchor.No, you cannot select the parent in CSS only.To aid in all these issues, this specification defines the @nest rule, which imposes fewer restrictions on how to validly nest style rules. The Nesting At-Rule: @nestStack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.In the meantime, you'll have to resort to JavaScript if you need to select a parent element.There is a lot of technical explanation here.The @nest rule functions identically to a style rule: it starts with a selector, and contains declarations that apply to the elements the selector matches. CSS 3 has more robust selectors but is not consistently implemented across all browsers. Use our CSS Selector Tester to demonstrate the different selectors. One good reason for not having these selectors is because the browser has to traverse through all children of an element to determine whether or not a class should be applied. Even with the improved selectors, I don't believe it will accomplish exactly what you've specified in your example.There is no parent selector; just the way there is no previous sibling selector. It returned in Pseudo-Elements Level 4. Use that body class to target only IE in your CSS. After some research, I’ve found some good CSS hacks to target The latest (IE) Edge versions on Jeff Clayton’s blog, on a post titled: CSS Hacks for Windows 10 and Microsoft’s Edge (Formerly Spartan) Web Browser. It can be used to style the current active target element. As well, some people find the nesting challenging to distinguish visually from the surrounding declarations.3.2. It targets the entire content of the html file. The element being linked to is the target element.