1.grow { transition: all .2s ease-in-out; }
2.grow:hover { transform: scale(1.1); }
1<!DOCTYPE html>
2<html>
3<head>
4<style>
5div.a {
6 width: 150px;
7 height: 80px;
8 background-color: yellow;
9 -ms-transform: rotate(20deg); /* IE 9 */
10 transform: rotate(20deg);
11}
12
13div.b {
14 width: 150px;
15 height: 80px;
16 background-color: yellow;
17 -ms-transform: skewY(20deg); /* IE 9 */
18 transform: skewY(20deg);
19}
20
21div.c {
22 width: 150px;
23 height: 80px;
24 background-color: yellow;
25 -ms-transform: scaleY(1.5); /* IE 9 */
26 transform: scaleY(1.5);
27}
28</style>
29</head>
30<body>
31
32<h1>The transform Property</h1>
33
34<h2>transform: rotate(20deg):</h2>
35<div class="a">Hello World!</div>
36<br>
37
38<h2>transform: skewY(20deg):</h2>
39<div class="b">Hello World!</div>
40<br>
41
42<h2>transform: scaleY(1.5):</h2>
43<div class="c">Hello World!</div>
44
45</body>
46</html>