JSFiddle - React, Tailwind, and code Playground

by Stephane de Luca

HTML

<!DOCTYPE html>
<html>
<head>
<style>
div {
  width: 300px;
  height: 100px;
  background-color: yellow;
  border: 1px solid black;
  background: url(radar.png);
}


.perspective {
  transform: matrix(1, 0, 0.5, 1, 250, 0); 
}
</style>
</head>
<body>

<h1>Perspective</h1>
<p>The matrix() method combines all the 2D transform methods into one.</p>

<div class="perspective">
Another use of the matrix() method.
</div>

</body>
</html>