css only first element of type code example Example: css first of type :first-of-type { //styles here }