[英]background repeat tiled bgImage inside an sprite image?
Lets say this is our sprite 可以说这是我们的精灵
(please ignore the black forms) Is there a way to repeat the gray -on the left- tiled image so it looks like a repeated background? (请忽略黑色形式)是否可以在左图块的图像上重复灰色,使其看起来像是重复的背景?
Nope, as far as I know, this is not possible, not even in CSS3. 据我所知,这是不可能的,即使在CSS3中也是如此。
You will need to separate the images. 您将需要分离图像。
There is the background-clip
property but that controls the clipping of the background image in relation to its container , which is something else. 有
background-clip
属性,但是它控制背景图像相对于其容器的裁剪,这是另外一回事。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.