input { height:50px; background: rgba(94,206,255,0.4); font-size: 16px; border: 1px solid rgba(0,255,255,0.4); outline: none; //Remove the auto-filled white background &:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill { -webkit-text-fill-color: #fff !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; //The delay time when the background color transparency takes effect and the transition effect is enabled } }
Remove the white background of the input box due to automatic filling when logging in
Guess you like
Origin blog.csdn.net/workhard0905/article/details/121423925
Recommended
Ranking