You can use the color
property to do so:
a:after{content:"(1)"; color:red;}
Working example:http://jsfiddle.net/f2z8ztvc/
solved How do I set the style of the “text” rendered from :after{content:”text”}?
You can use the color
property to do so:
a:after{content:"(1)"; color:red;}
Working example:http://jsfiddle.net/f2z8ztvc/
solved How do I set the style of the “text” rendered from :after{content:”text”}?