-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtransition property.html
More file actions
54 lines (54 loc) · 1010 Bytes
/
transition property.html
File metadata and controls
54 lines (54 loc) · 1010 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<title>
transition property
</title>
<style>
img{
width:300px;
height:300px;
}
img:hover{
width:600px;
height:600px;
opacity:0.5;
}
img{
transition-property:all;
transition-duration:2s;
transition-timing-function:ease-out;
}
button{
width:60px;
height:50px;
}
button:hover{
width:200px;
height:200px;
}
button{
transition-property:all;
transition-duration:2s;
transition-timing-function:ease-out;
}
h1{
font-size:10px;
color:red;
}
h1:hover{
font-size:20px;
color:green;
}
h1{
transition-property:all;
transition-duration:2s;
transition-timing-function:ease-out;
}
</style>
</head>
<body>
<img src="a.jpg">
<button>rohit</button>
<h1>I am Rohit Naikade</h1>
</body>
</html>