Pseudo-elements: Pseudo-elements and CSS Classes
Pseudo-elements and CSS Classes
//the example below will display the first letter of paragraphs with class="intro",
//in red and in a larger size
p.intro::first-letter {
color: #ff0000;
font-size:200%;
}
Pseudo-elements can be combined with CSS classes.
Semantic portal