[英]Is it possible to set the selection colour of html form input text box?
我希望能夠指定用戶選擇input
文本框周圍時出現的突出顯示顏色。 默認情況下(在Mac上),根據下面的屏幕截圖,這似乎總是淡藍色。
有人知道這是否可行嗎?
未選擇:
已選:
采用
input:focus {
border:/** your style definitions **/
outline: /** **/
box-shadow: /** **/
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.