css select first element in div code example
Example 1: css first element
p:first-child {
font-size: 1.5em;
}
Example 2: select first div css
#content div:first-child {
/*css*/
}
p:first-child {
font-size: 1.5em;
}
#content div:first-child {
/*css*/
}