-
Notifications
You must be signed in to change notification settings - Fork 0
/
interaction.css
81 lines (71 loc) · 1.61 KB
/
interaction.css
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.hovereffect {
width: 100%;
height: 100%;
float: left;
overflow: hidden;
position: relative;
text-align: center;
cursor: default;
}
.hovereffect .overlay {
width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.hovereffect img {
width: 100%;
height: 100%;
display: block;
position: relative;
-webkit-transition: all 0.4s ease-in;
transition: all 0.4s ease-in;
}
.hovereffect:hover img {
filter:blur(3px);
-webkit-filter: blur(3px);
-webkit-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
opacity: 60%;
}
.hovereffect h2 {
/* text-transform: uppercase; */
text-align: center;
position: relative;
font-size: 2em;
padding-top: 10px;
font-family: 'futura-pt', sans-serif;
font-weight: 700;
/* color:#FFA100; */
}
.hovereffect p {
display: inline-block;
text-decoration: none;
font-size: 2em;
margin: 0;
background-color: transparent;
font-family: 'futura-pt', sans-serif;
font-size: 2em;
font-weight: 400;
}
.hovereffect p, .hovereffect h2 {
-webkit-transform: scale(0.7);
-ms-transform: scale(0.7);
transform: scale(0.7);
-webkit-transition: all 0.4s ease-in;
transition: all 0.4s ease-in;
opacity: 0;
filter: alpha(opacity=0);
color: white;
margin-top:100px;
}
.hovereffect:hover p, .hovereffect:hover h2 {
opacity: 1;
filter: alpha(opacity=100);
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
}