Animatiuon approach also failing, going for subject emphasis now

replace/5b07b7b2ede97a7397cca13cda934b20fd14c1da
Cobular 5 years ago
parent c311736fb2
commit fe946a1c11

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

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

Loading…
Cancel
Save