transform-translatey-005.html (903B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test (Transforms): Several Y-Translations Combined</title> 5 <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com"> 6 <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name"> 7 <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions"> 8 <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-translatey"> 9 <meta name="assert" content='This tests that a sequence of positive and 10 negative translations is the same as relative positioning by 50px toward 11 the bottom.'> 12 <link rel="match" href="transform-translatey-ref.html"> 13 <style> 14 div { 15 transform: translatey(50px) translatey(-100px) translatey(150px) 16 translatey(-50px); 17 } 18 </style> 19 </head> 20 <body> 21 <div>Test Text</div> 22 </body> 23 </html>