css - Link doesn't behave correctly (because of webkit transition?) -
i using following code found on web create these "roll" links seem not work correctly meaning when clicked jquery script(animate anchor) doesn't execute. seem happen on chrome(version 28.0.1500.95) only.
to reproduce issue, go jsfiddle: http://jsfiddle.net/gsjcv/2/ , hit link multiple times(hit - scroll - hit again) , notice sometime stucks , doesn't work. removing "roll-link" css makes work, ideas it's causing this?
css:
.roll-link { display: inline-block; overflow: hidden; vertical-align: top; -webkit-perspective: 600px; -moz-perspective: 600px; -ms-perspective: 600px; perspective: 600px; -webkit-perspective-origin: 50% 50%; -moz-perspective-origin: 50% 50%; -ms-perspective-origin: 50% 50%; perspective-origin: 50% 50%; } .roll-link span { display: block; position: relative; padding: 0 2px; -webkit-transition: 300ms ease; -moz-transition: 300ms ease; -ms-transition: 300ms ease; transition: 300ms ease; -webkit-transform-origin: 50% 0%; -moz-transform-origin: 50% 0%; -ms-transform-origin: 50% 0%; transform-origin: 50% 0%; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; -ms-transform-style: preserve-3d; transform-style: preserve-3d; } .roll-link:hover span { background: #333; -webkit-transform: translate3d( 0px, 0px, -30px ) rotatex( 90deg ); -moz-transform: translate3d( 0px, 0px, -30px ) rotatex( 90deg ); -ms-transform: translate3d( 0px, 0px, -30px ) rotatex( 90deg ); transform: translate3d( 0px, 0px, -30px ) rotatex( 90deg ); } .roll-link span:after { content: attr(data-title); display: block; position: absolute; left: 0; top: 0; padding: 0 2px; background: #060606; -webkit-transform-origin: 50% 0%; -moz-transform-origin: 50% 0%; -ms-transform-origin: 50% 0%; transform-origin: 50% 0%; -webkit-transform: translate3d( 0px, 105%, 0px ) rotatex( -90deg ); -moz-transform: translate3d( 0px, 105%, 0px ) rotatex( -90deg ); -ms-transform: translate3d( 0px, 105%, 0px ) rotatex( -90deg ); transform: translate3d( 0px, 105%, 0px ) rotatex( -90deg ); } div{ padding-bottom:450px; background:#000; color:#fff; }