HTML textarea text input field border style and border color
The border style and border color of HTML textarea text input fields are often not very beautiful under default conditions. Although many browsers will beautify the border style of textarea, they may not be able to present the most perfect effect. Many designs In order to make the textarea conform to the style of the entire webpage design, the teacher will do some beautification work specifically for the textarea. The two simplest items include "border style" and "border color" modification. Both items can be modified through css. .
Modify the border style and border color of the HTML textarea text input field. The sample list
provides several different modification styles for your reference.
Example 1. Orange dotted border (3px thickness)
Here is the content of textarea
</textarea>
Example 2: Green solid border (2px thickness)
Here is the content of textarea
</textarea>
- Hexadecimal color codes for hundreds of colors: color code table .
- Commonly used css border style reference: CSS border-style border style .
- Adjust the width of the border : CSS border-width border width .
Example 3: Blue double solid border (2px thickness)
Here is the content of textarea
</textarea>
The above are a few examples of HTML textarea's border style and border color design. There are more different styles that you can match by yourself. Take a look at the themes in the second example, and you will have more experience. The most important thing is to have more Exercise.
Post a Comment
0 Comments