x
<html>
<head>
<title>CSS tutorial</title>
<style type="text/css">
h4:before {
content:"TITLE: ";
}
p:after
{
content:" - end!";
}
</style>
</head>
<body>
<h4>Some pseudo elements example</h4>
<p>We love example paragraphs!!!!</p>
<p>We love example paragraphs!!!!</p>
<p>We love example paragraphs!!!!</p>
<p>We love example paragraphs!!!!</p>
<h6>'TITLE:' word is added as ':before' and 'end!' as ':after'</h6>
</body>
</html>
Comments
No comments have been made yet.
Please login to leave a comment. Login now