Skip to content

Instantly share code, notes, and snippets.

@tobie
Created July 14, 2013 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobie/5993830 to your computer and use it in GitHub Desktop.
Save tobie/5993830 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<head>
<title>CSS Test: Empty Fixed-size Block Rotation 90deg</title>
<link rel="help" href="http://dev.w3.org/csswg/css-transforms/#transform-property"/>
<link rel="author" title="John Doe" href="http://www.example.com/"/>
<link rel="match" href="reftest/rotate-90deg-001-ref.xht"/>
<meta name="flags" content="" />
<meta name="assert" content="CSS rotation transform of 90deg rotates an
element 90 degrees clockwise."/>
<style>
#box {
width: 100px;
height: 50px;
background-color: fuchsia;
border-top: orange solid 50px;
transform: rotate(90deg);
}
</style>
</head>
<body>
<div id="box"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment