我正在尝试拥有多个背景(1。#fff,2)img 3)渐变背景。但这似乎不起作用
这是我的输出应该是什么样子
代码示例
<div id="send-date" class="transaction-details">
<label for="date">Send on</label>
<input type="date" name="date" id="date"/>
</div><!-- /send-date -->
#send-date input {
background: #fff,
url(../img/icon_calendar_36x36.png),
linear-gradient(btop, #FFFFFF 30%, #BFCBFB 65%, #869CFF 100%);
background-repeat: no-repeat;
background-position: 0% 0%, 96% 50%, 0% 0%;
background-size: cover, 24px, cover;
border: 1px solid #d9d9d9;
text-shadow: none;
}
#send-date input.ui-focus{
background-image: url(../img/icon_calendar_36x36.png);
background-repeat: no-repeat;
background-position: 96% 50%;
background-size: 24px;
border: 1px solid #a18492;
background-color: #d9d9d9;
-moz-box-shadow: inset 2px 2px 8px #AAAAAA;
-webkit-box-shadow: inset 2px 2px 8px #AAAAAA;
box-shadow: inset 2px 2px 8px #AAAAAA;
}