随屏幕滚动 文字横向滚动

function leftScroll() {
        var $ttl = $('.scroll_left');
        $ttl.each(function () {
            var $this = $(this);
            var $scrolled = $(window).scrollTop();
            var $a = $(this).offset().top;
            $scrolled = $a - $scrolled;
            $this.css({
                "transform": "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, "+($scrolled * 0.5) + ", 0, 0, 1)",
            })
        })
    }