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

javascript - Knockout pushing observable and computed data to an observable array -

'hasOwnProperty' in javascript -

Trouble making a JSON string -