p { width: 50px; height: 50px; background-color: teal; } .transformation{ transform: matrix(0.87,-80.5,0,0.87,0,1); background-color: blue; }