figure.effect-oscar {
background: -webkit-linear-gradient(45deg, #22682a 0, #9b4a1b 40%, #3a342a 100%);
background: linear-gradient(45deg, #22682a 0, #9b4a1b 40%, #3a342a 100%)
}
figure.effect-oscar img {
opacity: .9;
-webkit-transition: opacity .35s;
transition: opacity .35s
}
figure.effect-oscar figcaption {
padding: 3em;
background-color: rgba(58, 52, 42, .7);
-webkit-transition: background-color .35s;
transition: background-color .35s
}
figure.effect-oscar figcaption::before {
position: absolute;
top: 30px;
right: 30px;
bottom: 30px;
left: 30px;
border: 1px solid #fff;
content: ''
}
figure.effect-oscar h2 {
margin: 20% 0 10px;
-webkit-transition: -webkit-transform .35s;
transition: transform .35s;
-webkit-transform: translate3d(0, 100%, 0);
-ms-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0)
}
figure.effect-oscar figcaption::before,
figure.effect-oscar .effect-description {
opacity: 0;
-webkit-transition: opacity .35s, -webkit-transform .35s;
transition: opacity .35s, transform .35s;
-webkit-transform: scale(0);
-ms-transform: scale(0);
transform: scale(0)
}
figure.effect-oscar:hover h2 {
-webkit-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0)
}
figure.effect-oscar:hover figcaption::before,
figure.effect-oscar:hover .effect-description {
opacity: 1;
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1)
}
figure.effect-oscar:hover figcaption {
background-color: rgba(58, 52, 42, 0)
}
figure.effect-oscar:hover img {
opacity: .4
}