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:
textarea {
width:300px;
height:100px;
}
Practical example
In this section, we present a practical example of how to style the HTML textarea
element using CSS.
// ONLINE-RUNNER:browser;
<!doctype html>
<html>
<head>
<style>
textarea {
width:300px;
height:100px;
}
</style>
</head>
<body>
<textarea>Type something here...</textarea>
</body>
</html>