How to modify the border color of the search box selected with input in HTML

Source: Internet
Author: User
Tags border color
How to modify the border color of the search box selected with input in HTML

, the inner border turns blue when I select the input box.

My question is:

1, how to remove the blue?

2, how to change to another color?

First of all, thanks to the UI designer for the requirements, the workaround is as follows:

The code is as follows:

input[type=text]:focus{
Outline:none; How do I get rid of blue?
border:1px solid #58b195; How do I change to another color?
}

Note: Input has many type types, depending on the type, or it can be written in the following form:
input:focus{
Outline:none; How do I get rid of blue?
border:1px solid #58b195; How do I change to another color?
}

How to modify the border color of the search box selected with input in HTML

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.