first letter in other color


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. P:first-letter {color: red;}
  2. <P>The capital 'T' at the beginning of this paragraph is red.</P>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.