Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): matrix()/scale()</title>
<link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" content='This tests that scale() has the same
effect as an equivalent matrix().'>
<link rel="match" href="transform-matrix-007-ref.html">
<style>
div {
transform: matrix(2, 0, 0, 4, 0, 0);
width: 100px;
height: 100px;
background: gold;
}
</style>
</head>
<body>
<div></div>
</body>
</html>