Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is no method for adding text before or after a solitary element using only CSS. CSS is responsible for styling the content, but it cannot add or remove content. You will need to use JavaScript or JQuery to modify the HTML and add the desired text before or after the element.