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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -