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