Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Inline-Block</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content='Inline-blocks are atomic inline-level
elements, so should transform the same as blocks.'>
<link rel="match" href="transform-display-ref.html">
<link rel="mismatch" href="transform-display-notref.html">
<style>
div {
width: 100px;
height: 100px;
transform: rotate(180deg);
display: inline-block;
}
</style>
</head>
<body>
<div>This is some rotated text</div>
</body>
</html>