Answers for "matrix css"

CSS
5

transform rotate css

<!DOCTYPE html>
<html>
<head>
<style> 
div.a {
  width: 150px;
  height: 80px;
  background-color: yellow;
  -ms-transform: rotate(20deg); /* IE 9 */
  transform: rotate(20deg);
}

div.b {
  width: 150px;
  height: 80px;
  background-color: yellow;
  -ms-transform: skewY(20deg); /* IE 9 */
  transform: skewY(20deg);
}

div.c {
  width: 150px;
  height: 80px;
  background-color: yellow;
  -ms-transform: scaleY(1.5); /* IE 9 */
  transform: scaleY(1.5);
}
</style>
</head>
<body>

<h1>The transform Property</h1>

<h2>transform: rotate(20deg):</h2>
<div class="a">Hello World!</div>
<br>

<h2>transform: skewY(20deg):</h2>
<div class="b">Hello World!</div>
<br>

<h2>transform: scaleY(1.5):</h2>
<div class="c">Hello World!</div>

</body>
</html>
Posted by: Guest on March-09-2020
5

css transform size

.selector {
  transform: scale(1.2); // Will upscale to 1.2
}
Posted by: Guest on May-28-2020
0

matrix css

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

.transformation{
  transform: matrix(0.87,-80.5,0,0.87,0,1);
  background-color: blue;
}
Posted by: Guest on April-17-2021
0

css scale

scale(sx)

scale(sx, sy)
Posted by: Guest on March-20-2020

Browse Popular Code Answers by Language