css :first-of-type code example
Example 1: css first h element
p:first-of-type {
font-size: 1.25em;
}
Example 2: css first of type
:first-of-type {
//styles here
}
p:first-of-type {
font-size: 1.25em;
}
:first-of-type {
//styles here
}