programa.scss
784 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
// Variables
$scale: 1.1;
$time: 0.3s;
// sandbox
.program-box {
cursor: pointer;
.category {
display: block;
height: 30px;
line-height: 30px;
}
.image-wrapper {
position: relative;
// width: 100%;
// width: 370px;
// height: 170px;
overflow: hidden;
text-align: center;
}
.img-responsive {
-webkit-transition: all $time ease-in-out;
-moz-transition: all $time ease-in-out;
-o-transition: all $time ease-in-out;
transition: all $time ease-in-out;
}
&:hover .img-responsive {
-webkit-transform: scale($scale); /* prefixo para browsers webkit */
-moz-transform: scale($scale); /* prefixo para browsers gecko */
-o-transform: scale($scale); /* prefixo para opera */
transform: scale($scale);
}
}