p { text-transform: lowercase; } p:first-letter { text-transform: uppercase; }
<p>TEXTS THAT IS SET IN ALL CAPITALS.</p> <p>TExt that wAs wriTTEn rather poorly.</p> <p>A normal sentence would be treated just fine.</p>