我有這段代碼。它適用於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