Upside down text with CSS
Previously I've talked about reversing text with CSS by simply setting a few CSS attributes. Today we will try another trick: turning text upside down.
It's actually possible using a simple CSS property and works cross-browser today. The property to use it "text-gravity" with a value of "inverse".
<span style="text-gravity: inverse">
write upside down text
</span>
… and this is the result:
ʇxǝʇ uʍop ǝpısdn ǝʇıɹʍ
I'm really surprised to learn that so few people know about this property, and I recommend you to continue reading the W3C specification of text-gravity.
Update: Sorry, I lied :) The above is done with a UTF-8 character generator (see the link the the "specification" above). Amazingly, you can find that most characters have their upside down equivalent somewhere else in the huge Unicode alphabet. Neat trick :)
Comments
By: Devon Young (#1)
By: Spamboy (#2)
By: Emil Stenström (#3)
By: Kalle (#4)
By: Jens (#5)
By: Spamboy (#6)
By: Jeena Paradies (#7)
By: Emil Stenström (#8)
By: Rasmus Kaj (#9)
Actually, beeing able to rotate text 90° (or an arbitrary value) would be really usefull ...
For some text, you don't even need fancy unicode-compatible browsers ...
umop apisdn 'sdoo
By: pfwd (#10)
By: Dan Pettersson (#11)
By: trobrock (#12)
By: Emil Stenström (#13)
By: p??? (#14)
By: Mark (#15)
By: David McNorton (#16)
By: Tim (#17)
I'm upset.
Maybe there are any means for doing this?
By: ʇı ʇǝƃ ʇ‘upıp ʎoqɯɐds (#18)
By: Spamboy (#19)
By: Emil Stenström (#20)
By: Tom (#21)
By: Shafaat Awan (#22)
By: StatesTheObvious (#23)
To answer your question: It might be useful if you had one of those stupid newsletters with a question-and-answer section. Like, "How many comments on this article were facetious? A: 6; B: 42; C: All of them; D: Turtles." Then have an answer key later on the page, with the text upside down. Really useful stuff.
By: dinesh (#24)
By: Emil Stenström (#25)
By: ??? (#26)
I'd like an upside down "arrow", IOW, an upside down caret ^
:-/
hmm
↑
↓
By: Emil Stenström (#27)
By: Laura (#28)
I was messing around on FB applications and this showed up!
It does the job and you don't have to copy and paste as other thins I found online =)
By: Tom (#29)
By: Jim (#30)
Works like a gem.
By: Juan (#31)
?x?? u?op ?p?sdn ?????
How come no one noticed this?