2
A
回答
1
更改background: transparent;
到background-color: transparent;
。
释:
.jobs-inp {
background-image: url(images/magnify-icon.png);
background-repeat: no-repeat;
background-position: 0 0;
padding-left: 15px;
background: transparent;
font-size: 18px;
font-family: Interstate-Regular;
color: white;
border: 1px solid white;
height: 40px;
width: 25%;
}
background: transparent;
覆盖之前的所有背景属性,因为background
是所有属性的略写。
+0
Legend ...感谢那 – JkenGJ
+1当提问时,建议在其中包含一个最小的,可验证的示例示例作为片段本身(仅当需要支持该问题时才需要外部链接)......以便那些稍后在遇到问题时看到问题的人同样的问题,可以很容易找出来(外部链接也可以过期!) – kukkuz