css capitalize only first letter of first word code example Example: css capitalize first letter &::first-letter { text-transform: capitalize; }