css3 - how to use css not(first-child) attribute -


this question has answer here:

there parent div id("cooldiv")

it has many div elements. need set css property child divs except first 1 under it.

so tried accomplish this;

#cooldiv .row:not(:first-child) {         top:-50px;     } 

but of course doesn't work. what's wrong here?
screenshot of regarding content: enter image description here

try #cooldiv .row:not(:first-child). seems missed : before first-child. maybe that's why doesn't function?


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -