I have an HTMLaside
with two
manipulate the :first-child
but it doesn't work. However, when
trying to access the :last-child
it
does.
200 – Large
class="dimension">
Product Dimensions
29.75w
x
17.75h
x
28d
CSS
.sku:first-child
{
display:none !important; /*doesn't hide the first
child*/
}
.sku:last-child {
display:none
!important; /*does hide the first
child*/
}
Why
won't :first-child
select the first div?
No comments:
Post a Comment