img {
width
:
100%
;
}
figure {
margin
:
0
;
padding
:
0
;
height
:
300px
;
position
:
relative
;
display
:
block
;
cursor
:
pointer
;
overflow
:
hidden
;
border
:
3px
solid
#fff
;
}
figure:hover figcaption {
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=
100
);
filter: alpha(opacity=
100
);
opacity:
1
;
-webkit-transform: rotate(
0
);
-moz-transform: rotate(
0
);
-o-transform: rotate(
0
);
-ms-transform: rotate(
0
);
transform: rotate(
0
);
top
:
0
;
}
figcaption {
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=
0
);
filter: alpha(opacity=
0
);
opacity:
0
;
position
:
absolute
;
height
:
100%
;
width
:
100%
;
top
:
-100%
;
background
: rgba(
0
,
0
,
0
,.
5
);
color
:
#fff
;
-webkit-transition:
all
.
5
s ease;
-moz-transition:
all
.
5
s ease;
-o-transition:
all
.
5
s ease;
-ms-transition:
all
.
5
s ease;
transition:
all
.
5
s ease;
-webkit-transition-delay: .
5
s;
-moz-transition-delay: .
5
s;
-o-transition-delay: .
5
s;
-ms-transition-delay: .
5
s;
transition-delay: .
5
s;
-webkit-transform: rotate(
360
deg);
-moz-transform: rotate(
360
deg);
-o-transform: rotate(
360
deg);
-ms-transform: rotate(
360
deg);
transform: rotate(
360
deg);
}
figcaption h
3
{
font-family
:
'Open sans'
;
font-weight
:
400
;
color
:
#f3b204
;
padding
:
10px
20px
;
margin-bottom
:
0
;
position
:
relative
;
left
:
100%
;
margin-top
:
37px
;
font-size
:
30px
;
-webkit-transition:
all
.
5
s;
-moz-transition:
all
.
5
s;
-o-transition:
all
.
5
s;
-ms-transition:
all
.
5
s;
transition:
all
.
5
s;
-webkit-transition-delay:
1
s;
-moz-transition-delay:
1
s;
-o-transition-delay:
1
s;
-ms-transition-delay:
1
s;
transition-delay:
1
s;
}
figcaption p {
font-family
:
'Open sans'
;
padding
:
10px
20px
;
margin-bottom
:
0
;
margin-top
:
20px
;
position
:
relative
;
left
:
100%
;
font-size
:
13px
;
-webkit-transition:
all
.
5
s;
-moz-transition:
all
.
5
s;
-o-transition:
all
.
5
s;
-ms-transition:
all
.
5
s;
transition:
all
.
5
s;
-webkit-transition-delay:
1.3
s;
-moz-transition-delay:
1.3
s;
-o-transition-delay:
1.3
s;
-ms-transition-delay:
1.3
s;
transition-delay:
1.3
s;
}
figure:hover h
3
,figure:hover p {
left
:
0
;
}
figcaption a {
color
:
#fff
;
border
:
2px
solid
#fff
;
padding
:
4px
10px
;
text-decoration
:
none
;
}
figcaption a:hover {
color
:
#4f5856
;
background
:
#fff
;
}