Sunday, 25 August 2013

CSS select first child only if two children

CSS select first child only if two children

Is there any way to select the first child only if there is a second
child? I'd like to hide the first
tag only if there is a second one. Is there any way to do this with CSS?
My code is this
<div>
<p></p>
<p>something</p>
</div>
Thanks!

No comments:

Post a Comment