我有这段代码。它适用于Windows的所有浏览器,但不会出现在Mac Safari浏览器中。与Safari浏览器兼容的问题
.send_msg{
background:#000;
padding:20px;
}
.send_msg input[type="text"] {
background: none repeat scroll 0 0 transparent;
border: medium none;
box-shadow: 0 0 10px #fff inset;
color: #fff;
padding: 1em;
width: 50%;
}
<div class="send_msg">
<input type="text" />
</div>
请设置在http://jsfiddle.net – ggdx 2014-10-09 11:30:18
http://jsfiddle.net/qgraysrc/ – Websolutionexpert24 2014-10-09 11:32:02
每个地方它的工作正常,但在Mac Safari浏览器的文本框没有出现。 – Websolutionexpert24 2014-10-09 11:33:28