I want to be able to specify the highlight colour that appears around an input
text box when a user selects it. By default (on a Mac) this always seems to be a light blue colour as per the screenshots below.
Does anyone know if this is possible and if so how?
Unselected:
Selected:
use
input:focus {
border:/** your style definitions **/
outline: /** **/
box-shadow: /** **/
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.