Animatiuon approach also failing, going for subject emphasis now

pull/1/head
Julie 5 years ago
parent f729214053
commit 5b07b7b2ed

@ -4,7 +4,7 @@
padding: 5px;
box-sizing: border-box;
height: 200px;
transition: 0.22s ease-in-out; }
animation: FadeIn 0.22s; }
.grid {
margin: 0 auto;
@ -28,12 +28,16 @@
.grid-item--width2 {
width: 100%; } }
.blur-me {
filter: grayscale(20%) blur(0.7px) brightness(94%);
opacity: 0.8;
box-shadow: none; }
animation: FadeOut 0.22s;
animation-fill-mode: both; }
.grid:hover .grid-item:hover {
filter: blur(0px);
opacity: 1; }
@keyframes FadeOut {
to {
opacity: 0.8;
filter: grayscale(20%) blur(0.7px) brightness(94%); } }
@keyframes FadeIn {
to {
opacity: 1;
filter: grayscale(0%) blur(0px) brightness(100%); } }
/*# sourceMappingURL=masonry.css.map */

@ -8,7 +8,8 @@
box-sizing: border-box
height: 200px
//box-shadow: 0 2px 3px 0px rgba(0,0,0,0.25)
transition: 0.22s ease-in-out
//transition: 0.22s ease-in-out
animation: FadeIn 0.22s
.grid
@ -34,17 +35,32 @@
.grid-item--width2
width: 100%
.blur-me
animation: FadeOut 0.22s
animation-fill-mode: both
@keyframes FadeOut
to
opacity: 0.8
filter: grayscale(20%) blur(0.7px) brightness(94%)
opacity: .8
//transform: scale(.995)
box-shadow: none
.grid:hover .grid-item:hover
//transform: scale(1.005)
filter: blur(0px)
@keyframes FadeIn
to
opacity: 1
//box-shadow: 0 8px 20px 0px rgba(0,0,0,0.125)
filter: grayscale(0%) blur(0px) brightness(100%)
// filter:
// opacity: .8
// //transform: scale(.995)
// box-shadow: none
//
//.grid:hover .grid-item:hover
// //transform: scale(1.005)
// filter: blur(0px)
// opacity: 1
// //box-shadow: 0 8px 20px 0px rgba(0,0,0,0.125)
//.grid-img
// display: inline-block

Loading…
Cancel
Save