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 […]

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ıʇ