How can I define the width for only the second background?
如何仅为第二个背景定义宽度?
background: url(../images/Logo1.png) bottom no-repeat , url(../images/Logo_2.png) 98% 100% no-repeat white !important;
background-attachment:fixed !important;
Thank you in advance for your help.
预先感谢您的帮助。
1 个解决方案
#1
0
background: url(../images/Logo1.png) bottom no-repeat, url(../images/Logo_2.png) 98% 100% / WIDTH HEIGHT no-repeat white !important;
background-attachment:fixed !important;
Where I have put WIDTH
and HEIGHT
is where you can set the size of that image.
我把WIDTH和HEIGHT放在哪里你可以设置图像的大小。
Before the forward slash is background-position
after is background-size
.
在正斜杠之前是背景位置之前是背景大小。
#1
0
background: url(../images/Logo1.png) bottom no-repeat, url(../images/Logo_2.png) 98% 100% / WIDTH HEIGHT no-repeat white !important;
background-attachment:fixed !important;
Where I have put WIDTH
and HEIGHT
is where you can set the size of that image.
我把WIDTH和HEIGHT放在哪里你可以设置图像的大小。
Before the forward slash is background-position
after is background-size
.
在正斜杠之前是背景位置之前是背景大小。