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
| #flou{
width:302px;
height:320px;
margin:70px auto;
}
#flou li{
list-style:none;
float:left;
width:141px;
height:150px;
margin:5px;
}
#flou li:nth-child(3){
clear:left;
}
#flou img{
position:absolute;
z-index:1;
height:150px;width:auto;
margin:0;
box-shadow:0 0 3px black;
-webkit-transition:all .5s cubic-bezier(.6,2,.4,1);
-moz-transition:all .5s cubic-bezier(.6,2,.4,1);
-ms-transition:all .5s cubic-bezier(.6,2,.4,1);
-o-transition:all .5s cubic-bezier(.6,2,.4,1);
transition:all .5s cubic-bezier(.6,2,.4,1);
}
/* #flou li:hover img{
z-index:5;
-webkit-transform: scale(1.5);
-moz-transform: scale(1.5);
-ms-transform: scale(1.5);
-o-transform: scale(1.5);
transform: scale(1.5);
box-shadow:0 0 10px black;
} */
#flou:hover li:not(:hover) img{
-webkit-filter: grayscale(1) blur(5px);
-moz-filter: grayscale(1) blur(5px);
-ms-filter: grayscale(1) blur(5px);
-o-filter: grayscale(1) blur(5px);
filter: grayscale(1) blur(5px);
} |