css target first element code example
Example 1: css first element
p:first-child {
font-size: 1.5em;
}
Example 2: css first h element
p:first-of-type {
font-size: 1.25em;
}
Example 3: select first div css
#content div:first-child {
/*css*/
}