解決谷歌瀏覽器輸入框記住賬號密碼後的背景色
阿新 • • 發佈:2021-01-21
input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: #ededed !important; -webkit-box-shadow: 0 0 0px 1000px transparent inset !important; background-color:transparent; background-image: none; transition: background-color 50000s ease-in-out 0s; //背景色透明 生效時長 過渡效果 啟用時延遲的時間 } input { background-color:transparent; caret-color: #fff; //游標顏色 }