Jump to content

pseudo selector

Karen Setliff's Photo
Posted May 13 2011 07:39 PM
2886 Views

How do you use a pseudo selector to format the first letter of all paragraphs

Tags:
0 Subscribe


2 Replies

0
  Alejandro Ramirez's Photo
Posted May 14 2011 11:21 AM

Using the ":first-letter" element:
Posted Image

Source: http://css-tricks.co...lass-selectors/
Alejandro Ramirez
Digital Photography Club
Administrator
0
  Andrew Symonds's Photo
Posted Mar 31 2014 08:17 PM

The best way is to use the :first-letter pseudo element, here a complete demo of the sameCSS pseudo-element