Created
October 22, 2012 17:21
-
-
Save martinusso/3932750 to your computer and use it in GitHub Desktop.
rotate table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Font: http://davidwalsh.name/css-transform-rotate