Reverse Text With CSS (32 Very Special Hex Digits)
Join the DZone community and get the full member experience.
Join For FreeSometimes you wake up and feel that big things are moving around you. You follow the news and find that people are uniting over something simple as a number. You read about people calling them rebels.
I think this is a good time to show a little CSS trick.
Let me present two properties that together reverse a string of text: direction and unicode-bidi:
<p style="direction: rtl; unicode-bidi: bidi-override;">
0C 88 65 36 5C 65 14 8D B5 3E 47 D9 20 11 9F 90
</p>
The result, when this is posted on your blog (*hint*) is the following:
0C 88 65 36 5C 65 14 8D B5 3E 47 D9 20 11 9F 90
Am I a CSS rebel now? And are they going to sue me on the basis of my HTML or my CSS?
Published at DZone with permission of Emil Stenström. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
DevOps Midwest: A Community Event Full of DevSecOps Best Practices
-
Implementing RBAC in Quarkus
-
Competing Consumers With Spring Boot and Hazelcast
-
What ChatGPT Needs Is Context
Comments