Remove the border outline when the bootstrap input box is focused

Source: Internet
Author: User

When using BOOTSTRAP3, the advantage is that there are many existing controls that can be used, and the downside is that personalization can be a lot of trouble,

Separate static pages are normal, and when introduced Bootstrap, the styles of some classes/common interface components are overwritten.

To remove the default style or customize the border style of the input box, you can use the following code:


Input:focus {    outline:none;    Border-color: #cfdc00;    box-shadow:0 0 5px Rgba (207, 0, 0.4);    border-radius:5px;}

Online Demo Address: http://wow.techbrood.com/fiddle/13097

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Remove the border outline when the bootstrap input box is focused

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.