Horje
css not first child Code Example
css not first child
.block:not(:first-child) {
    background-color: #990000;
}

//if you need to support legacy browsers then follow the below solution

.block {
    background-color: #990000;  /* applies to every ul */
}

.block:first-child {
    background-color: transparent; /* limits the scope of the previous rule */
}
other children than first css
div ul:nth-child(n+2) {
    background-color: #900;
}




Css

Related
css rotate 180 degrees Code Example css rotate 180 degrees Code Example
html center video Code Example html center video Code Example
css background image size to fit screen Code Example css background image size to fit screen Code Example
z-index max value Code Example z-index max value Code Example
write text in one line css Code Example write text in one line css Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15