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
| #recent-posts > .recent-post-item .post_cover { position: relative; } #recent-posts>.recent-post-item .post_cover::after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,.5); content: ''; -webkit-transition: -webkit-transform .3s; -moz-transition: -moz-transform .3s; -o-transition: -o-transform .3s; -ms-transition: -ms-transform .3s; transition: transform .3s; -webkit-transform: scale3d(2,1,1) rotate(60deg) translate3d(15%,-150%,0); -moz-transform: scale3d(2,1,1) rotate(60deg) translate3d(15%,-150%,0); -o-transform: scale3d(2,1,1) rotate(60deg) translate3d(15%,-150%,0); -ms-transform: scale3d(2,1,1) rotate(60deg) translate3d(15%,-150%,0); transform: scale3d(2,1,1) rotate(60deg) translate3d(15%,-150%,0); } #recent-posts>.recent-post-item .post_cover:hover::after { -webkit-transform: scale3d(2,1,1) rotate(60deg) translate3d(0,130%,0); -moz-transform: scale3d(2,1,1) rotate(60deg) translate3d(0,130%,0); -o-transform: scale3d(2,1,1) rotate(60deg) translate3d(0,130%,0); -ms-transform: scale3d(2,1,1) rotate(60deg) translate3d(0,130%,0); transform: scale3d(2,1,1) rotate(60deg) translate3d(0,130%,0); }
|