Computer Science, asked by sanjanamk641, 6 months ago

transform property coding in html​

Answers

Answered by bittu82397
1

Answer:

The transform property applies a 2D or 3D transformation to an element. This property allows you to rotate, scale, move, skew, etc., elements.

Ex-

<!DOCTYPE html>

<html>

<head>

<style>  

div.a {

 width: 150px;

 height: 80px;

 background-color: yellow;

 -ms-transform: rotate(20deg); /* IE 9 */

 transform: rotate(20deg);

}

</style>

</head>

<body>

<h1>The transform Property</h1>

<h2>transform: rotate(20deg):</h2>

<div class="a">Hello World!</div>

</body>

</html>

Similar questions