ใช้องค์ประกอบ :after เพื่อเพิ่มเนื้อหาบางส่วนหลังองค์ประกอบ
ตัวอย่าง
คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อแทรกเนื้อหาบางส่วนหลังองค์ประกอบด้วย CSS −
<html>
<head>
<style>
p:after
{
content: url(/images/bullet.gif)
}
</style>
</head>
<body>
<p> This line will be succeeded by a bullet.</p>
<p> This line will be succeeded by a bullet.</p>
<p> This line will be succeeded by a bullet.</p>
</body>
</html>