-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathl8skew.html
More file actions
38 lines (30 loc) · 928 Bytes
/
l8skew.html
File metadata and controls
38 lines (30 loc) · 928 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<title>Skew Function</title>
<style>
img{
width: 300px;
display: block;
margin: auto;
margin-top: 200px;
transition: all 2s;
}
img:hover{
/* x */
transform: skew(20deg);
/* horizontal */
/* transform: skewX(30deg); */
/* transform: skewX(-30deg); */
/* vertical */
/* transform: skewY(30deg); */
/* transform: skewY(-30deg); */
/* x,y */
/* transform:skew(20deg,30deg); */
}
</style>
</head>
<body>
<img src="./img/dog.jpg" alt="dogimg"/>
</body>
</html>