content property was introduced in CSS 2.1 to add generated content to the
:after pseudo-elements. Given that IE 8 also now supports
content, we really are getting to the point where can use this CSS feature in our production work. Just be sure to use it only in appropriate circumstances, and be mindful of the accessibility implications that generated content still has.
Read the outside article: CSS generated content techniques