Today I designed a dynamic window style for publishing, and found that the style automatically added by the browser when the mouse clicks on the input is inconsistent with the overall style of the website. Although this intelligent function of the browser is very advanced, it sometimes inevitably affects the overall consistency of the design. Then I thought about whether it would be possible to not use input as an input box, so I changed it to Copy code The code is as follows:<div class="content" contenteditable="true"></div> I thought I could avoid the "smart" function of the browser, but the browser was too smart and the effect was exactly the same. I could only go to Baidu, and later I found that my CSS was not well prepared. Poor me (self-examination in progress) There is such a property in css Copy code The code is as follows:.content{outline:none;} And this is something that CSS3 has already had, but I... ![]() |
<<: About if contains comma expression in JavaScript
>>: mysql startup failure problem and scenario analysis
1. First, an error message is reported when assoc...
This article example shares the specific code of ...
Free points Interviewer : Have you ever used Linu...
background As we all know, nginx is a high-perfor...
The load is generally estimated during system des...
Table of contents 1. Build the Vue environment 2....
Introduction Because JavaScript is single-threade...
Table of contents 1. Core commands 2. Common comm...
This article uses an example to describe how to v...
GitHub has all kinds of magic tools. Today I foun...
1. Command Introduction The watch command execute...
This article example shares the specific code of ...
When we add borders to table and td tags, double ...
Docker Toolbox is a solution for installing Docke...
Table of contents Take todolist as an example The...