diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)

Apr122008

JavaScript: Unobtrusive Upside Down Text

John Dyer implemented the much asked for upside down text JavaScript: — “There is a huge need for upside down text on the web. With everyone “going mobile,” developers cannot simply rely on users having their screens oriented the same way all the time. I went through all of the possible options for creating upside down text and finally came up with a totally unobtrusive, Unicode enabled, completely web-changing piece of code (which is mostly from someone else and using this and this).”

To code this, give your HTML element a class called “upsidedowntext” and add the script in the header and you have pure greatness.

Result:

uoıʇ

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...