Html
    Css
    Js

    
                        
body,a {
	font-size:14px;
	color:#555;
}
.wordCount {
	position:relative;
	width:600px;
}
.wordCount textarea {
	width:100%;
	height:100px;
}
.wordCount .wordwrap {
	position:absolute;
	right:6px;
	bottom:6px;
}
.wordCount .word {
	color:red;
	padding:0 4px;
}

                        
↑上面代码改变,会自动显示代码结果 jQuery调用版本:1.11.3
 立即下载

输入框倒数字数限制

0