ki Posted January 19, 2007 Share Posted January 19, 2007 whats [code]content:[/code] used for? Quote 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] Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/34921-just-wandering/#findComment-165996 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.