1、PC端折行方法
placeholder="字体
字体"
可以使其折行显示
2、移动端折行方法
webkit内核
textarea::-webkit-input-placeholder:after{ display:block; content:"line@ \A line#";
火狐
textarea::-moz-placeholder:after{ content:"line@ \A line#";
转载于:https://www.cnblogs.com/ckf1988/p/6386026.html
相关资源:JAVA上百实例源码以及开源项目