transform-display-001.html (732B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Inline-Block</title> 5 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 6 <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transformable-element"> 7 <meta name="assert" content='Inline-blocks are atomic inline-level 8 elements, so should transform the same as blocks.'> 9 <link rel="match" href="transform-display-ref.html"> 10 <link rel="mismatch" href="transform-display-notref.html"> 11 <style> 12 div { 13 width: 100px; 14 height: 100px; 15 transform: rotate(180deg); 16 display: inline-block; 17 } 18 </style> 19 </head> 20 <body> 21 <div>This is some rotated text</div> 22 </body> 23 </html>