1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | .collection-grid-item__link:before{ -ms- transition : all 0.5 s ease-in-out; -webkit- transition : all 0.5 s ease-in-out; transition : all 0.5 s ease-in-out; content : "" ; position : absolute ; top : -110% ; left : -210% ; width : 200% ; height : 200% ; opacity : 0 ; filter :alpha(opacity= 0 ); -webkit- transform : rotate ( 30 deg); -ms- transform : rotate ( 30 deg); -moz- transform : rotate ( 30 deg); -o- transform : rotate ( 30 deg); transform : rotate ( 44 deg); background : rgba ( 255 , 255 , 255 , 0.1 ); background : linear-gradient (to right , rgba ( 255 , 255 , 255 , 0.1 ) 0% , rgba ( 255 , 255 , 255 , 0.1 ) 77% , rgba ( 255 , 255 , 255 , 0.5 ) 92% , rgba ( 255 , 255 , 255 , 0 ) 100% ); } |
Light flick effect on image hover – CSS
by
Tags:
Leave a Reply