you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

I do want to select the first child to detect if its hovered over or not.
In theory, it should work like this

.titlebox blockquote:first-child

Selects the first blockquote in titlebox class

ul li:first-child:hover

Selects the first li in ul in the first blockquote and detects when it enters a hover state,

.titlebox blockquote:first-child ul li:not(first-child)

Selects everything in the ul in the first blockquote that is not the first child