changing css text size code example Example 1: css change text size p { font-size: 150% /*px, cm, in, etc.*/; } Example 2: text size in CSS font-size: 2em;