Answers for "select all not first css"

CSS
12

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 */
}
Posted by: Guest on March-02-2020
1

select first div css

#content_id div.class_name:first-child {
	/*your style*/
}
Posted by: Guest on September-11-2020

Code answers related to "select all not first css"

Browse Popular Code Answers by Language