本文介绍了在一个div的多个背景图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Photoshop中做了一个功能区。色带有三个部分。左右部分是固定的10px。
I made a ribbon in Photoshop. The ribbon has three part. The left and right parts are a fixed 10px. The middle sectoin is a repeatable pattern.
是否可以将这些图片组合为我的标签的背景?
Is it possible to combine these images as the background of my tag?
推荐答案
as @ j08691说,只在css3
as @j08691 said, only in css3
#yourTag {
background-image: url(one.png), url(two.png);
background-position: center bottom, left top;
background-repeat: no-repeat;
width: 300px;
height: 350px;
}
这里你有一个:
here you have a: good example
这篇关于在一个div的多个背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!