<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
input{
outline: none;
border:1px solid #ccc;
width: 100px;
height: 25px;
background:url(images/s.png) no-repeat left center;
}
textarea{
resize: none;/* 防止拖拽 */
outline: none;/* 取消蓝色边框 */
}
</style>
</head>
<body>
<input type="text">
<textarea rows="30" cols="30">
</textarea>
</body>
</html>