css3文字滚动marquee

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title></title>
  <style>
@-webkit-keyframes van-notice-bar-play-infinite {
    to {
        -webkit-transform: translate3d(-140%,0,0);
        transform: translate3d(-140%,0,0)
    }
}

@keyframes van-notice-bar-play-infinite {
    to {
        -webkit-transform: translate3d(-140%,0,0);
        transform: translate3d(-140%,0,0)
    }
}
.my_marquee_outer{position: absolute; width: 8.46875rem; height: 1.875rem; left: 1rem; right: 0; overflow: hidden;}
.my_marquee {
    white-space: nowrap;
    position: absolute;
    -webkit-animation: van-notice-bar-play-infinite linear infinite both;
    animation: van-notice-bar-play-infinite linear infinite both
}
  </style>
</head>
<body>
<span class="my_marquee_outer">
  <span class="my_marquee" style="padding-left: 103.5px; animation-delay: 0s; animation-duration: 6.52594s;">测试文本</span>
</span>
</body>
</html>