Skip to content

Instantly share code, notes, and snippets.

@rahji
Created November 2, 2022 16:17
Show Gist options
  • Save rahji/bd4c49accdea3ea296b610465c4e9e89 to your computer and use it in GitHub Desktop.
Save rahji/bd4c49accdea3ea296b610465c4e9e89 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Backwards Text Test</title>
<style>
.backwards {
text-align:right;
-moz-transform: scale(-1, 1);
-webkit-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1);
}
</style>
</head>
<body>
<div class="backwards">This is some text</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment