Chrome browser is a pretty good web browser for both developers and the average user, but one of the things that feels so superfluous in development is that a yellow border always appears when the controls in a form item focus
In particular Input[text] and textarea, and in the lower-right corner of the textarea also have a mouse to drag the table textarea size of the function, as shown in the following figure:
Input[text]:
Sometimes the yellow border is very affecting the page effect, and textarea drag to change the size of the direct impact on the layout, so in order not to make these redundant features and effects of the page, you can use a few CSS to remove the default effect of the Chrome browser, the code is as follows:
To remove a yellow border from the focus of a table item:
The code is as follows:
Input,button,select,textarea{outline:none}
To cancel the textarea drag resizing function:
The code is as follows:
Textarea{resize:none}
After merging:
The code is as follows:
input,button,select,textarea{Outline:none;}
textarea{font-size:13px; resize:none;}