Skip to content

Instantly share code, notes, and snippets.

@martinusso
Created October 22, 2012 17:21
Show Gist options
  • Save martinusso/3932750 to your computer and use it in GitHub Desktop.
Save martinusso/3932750 to your computer and use it in GitHub Desktop.
rotate table
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>teste som</title>
<style type="text/css">
body{margin-top: 200px}
table {border: 1px solid red;}
table td {border: 1px solid blue;}
#notas {
-moz-transform:rotate(270deg);
-webkit-transform:rotate(270deg);
-o-transform:rotate(270deg);
-ms-transform:rotate(270deg);
filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1.5);
}
</style>
</head>
<body>
<table id="notas">
<tr>
<td>nome</td>
<td>nota</td>
<td>faltas</td>
</tr>
<tr>
<td>Gabi</td>
<td>10 (sou nerd)</td>
<td>0 (sou nerd)</td>
</tr>
<tr>
<td>Breno</td>
<td>7 (passei tá bom)</td>
<td>171 (tava no buteco)</td>
</tr>
</table>
</body>
</html>
@martinusso
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment