::before Pseudo-Element Example

Tom, Dick and Harry.

Here is the code.

In the document head or the style sheet.

div.afterExample::before {
				color : blue ;
		    		content: "Please Welcome Our New Employees! =>  " ;
				font-weight: bold ;
}

In the HTML body

<div class="beforeExample">
				Tom, Dick and Harry.
</div>
The ::before Pseudo Element adds the rest.