Making links printable with :after and content – CSS3

Hi guys, Today I am going to share a simple tip to make your web page more attractive. We all know that CSS can used to style the existing documents, But it can also inject content into a document.

CSS3 Code

a:after { content:" ("attr(href) ") "; }

Please don’t forget to share and subscribe to latest updates of the blog. Also any comments and feedback are all welcome!

Thanks!

[button type=”download” url=”http://w3lessons.info/demo/making-links-printable-css3.html” color=”orange” align=”after”]View Demo[/button]

You May Also Like

Never Miss Any Web Tutorials, Guides, Tips and Free eBooks

Join Our Community Of 50,000+ Web Lovers and get a weekly newsletter in your inbox

 

I hate spam too. Unsubscribe at any time.

Leave a Comment