EN
CSS - change textarea size
0 points
In this article, we would like to show you how to change textarea size using CSS.
Quick solution:
xxxxxxxxxx
1
textarea {
2
width:300px;
3
height:100px;
4
}
In this section, we present a practical example of how to style the HTML textarea
element using CSS.
xxxxxxxxxx
1
2
<html>
3
<head>
4
<style>
5
6
textarea {
7
width:300px;
8
height:100px;
9
}
10
11
</style>
12
</head>
13
<body>
14
<textarea>Type something here...</textarea>
15
</body>
16
</html>