是否可以通过片段着色器渲染平铺图像?
示例:
html, body {
margin: 0;
padding: 0;
background: gray url(https://background-tiles.com/overview/blue/patterns/large/1055.png) repeat 0 0;
-webkit-animation: slide 20s linear infinite;
}
@-webkit-keyframes slide {
from { background-position: 0 180; }
to { background-position: 500px 0; }
}
<body>
</body>