ki Posted January 19, 2007 Share Posted January 19, 2007 whats [code]content:[/code] used for? Link to comment https://forums.phpfreaks.com/topic/34921-just-wandering/ Share on other sites More sharing options...
ToonMariner Posted January 19, 2007 Share Posted January 19, 2007 [url=http://www.w3.org/TR/REC-CSS2/generate.html]http://www.w3.org/TR/REC-CSS2/generate.html[/url] Link to comment https://forums.phpfreaks.com/topic/34921-just-wandering/#findComment-164707 Share on other sites More sharing options...
bibby Posted January 22, 2007 Share Posted January 22, 2007 [b]content[/b] is used for psuedo elements ::before and ::after[code]<style>p::before{ content:'test-';}</style><p>1</p><p>2</p><p>3</p>[/code]returns:test-1test-2test-3 Link to comment https://forums.phpfreaks.com/topic/34921-just-wandering/#findComment-165996 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.