0
点赞
收藏
分享

微信扫一扫

删除表单边框和多行文本框禁止拉动大小

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>清除表单边框和固定文本域大小</title>
<style>
input,
textarea {
/*清除表单边框*/
outline: none;
}

textarea {
/*禁止拖动多行文本框*/
resize: none;
}
</style>
</head>

<body>
<input type="text" />
<textarea rows="5" cols="20"></textarea>
</body>

</html>

举报

相关推荐

0 条评论