Home › Forums › CSS › CSS selector for parent with blank element › Reply To: CSS selector for parent with blank element
November 19, 2017 at 5:06 pm
#262785
idan
Participant
Hi Beverley, how would I use the empty selector to select the li
elements? (there will be always a value in the first <p>
but in the second <p>
it may be either empty or with value, maybe there’s a method using nth-child(2)
to specifically select <li>
with a 2nd <p>
child that is empty?