matrix in css

62

p {
  width: 50px;
  height: 50px;
  background-color: teal;
}

.transformation{
  transform: matrix(0.87,-80.5,0,0.87,0,1);
  background-color: blue;
}
div {
  width: 80px;
  height: 80px;
  background-color: skyblue;
}

.changed {
  transform: matrix(1, 2, -2, 1, 80, 80);
  background-color: pink;
}

Comments

Submit
0 Comments