imagen.css
911 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
.containerr {
width: 300px;
height: 200px;
position: absolute;
left: 0;
right: 0;
margin: 0 auto;
top: 20px;
}
.div-img {
display: block;
margin-left: auto;
margin-right: auto;
}
.div-img .img {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
transform: scale(1);
-ms-transform: scale(1);
-moz-transform: scale(1);
-webkit-transform: scale(1);
-o-transform: scale(1);
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
}
.div-img:hover .img {
transform: scale(0.8);
-ms-transform: scale(0.8);
-moz-transform: scale(0.8);
-webkit-transform: scale(0.8);
-o-transform: scale(0.8);
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}