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
The effect is as follows: a page After clicking t...
MySQL allows you to create multiple indexes on th...
How to declare a cursor in mysql: 1. Declare vari...
In the previous article, it was mentioned that th...
Around version 0.6, privileged was introduced to ...
Table of contents 1. Basic Introduction to JavaSc...
In MySQL, you can use IF(), IFNULL(), NULLIF(), a...
Today I suddenly thought of reviewing the producti...
The META tag, commonly referred to as the tag, is...
HTML operation principle: 1. Local operation: ope...
In today's development environment, fast is b...
Table of contents Environment Preparation start 1...
When I created a Docker container today, I accide...
introduce Usually a background server program mus...
Table of contents Introduction Child Process Crea...