Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to prevent chrome from adding borders to the activated input box

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to prohibit chrome for the activated input box to add border related knowledge, detailed and easy to understand, simple and fast operation, with a certain reference value, I believe everyone read this article how to prohibit chrome for the activated input box to add border articles will have some gains, let's take a look at it.

To avoid trouble, we might prevent chrome from growing borders for activated input boxes, as follows:

1. Prevent adding borders to fully activated output boxes (recommended)

*:focus {outline: none}

2. Suppress adding borders for activated output boxes

.abc:focus{ outline:none }

Description: ".abc" is a custom class name added to the input box object.

3. Or customize the border pattern when the input box is activated

.abc:focus { outline:Blue Solid 4px;}

Note: ".abc" is a custom css designation.

The content of this article on "How to disable chrome to add borders to activated input boxes" is introduced here. Thank you for reading! I believe everyone has a certain understanding of the knowledge of "how to prohibit chrome from adding borders to activated input boxes." If you still want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report