<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
  #textArea {
    color: white;
    height: 50px;
  }
  #textArea::-webkit-input-placeholder{
    height: 50px;line-height: 50px
  } /* 使用webkit内核的浏览器 */
  #textArea:-moz-placeholder{
    height: 50px;line-height: 50px
  } /* Firefox版本4-18 */
  #textArea::-moz-placeholder{
    height: 50px;line-height: 50px
  } /* Firefox版本19+ */
  #textArea:-ms-input-placeholder{
    height: 50px;line-height: 50px
  }
</style>
</head>
<body>
  <textarea id="textArea" name="" placeholder="请输入"></textarea>
</body>
</html>

效果图如下

最新文章

  1. phonegap3.5了结
  2. IsNullOrEmpty与IsNullOrWhiteSpace区别
  3. JavaScript高级程序设计之寄生组合式继承
  4. DIH处理包含回车符换行符html标签内容的文本
  5. MYSQL 日志文件路径错误 1067错误
  6. QT对话框中show和exec的区别
  7. NSTimer的精确度
  8. MVC(一)-MVC的基础认知
  9. Java注解(2)-注解处理器(运行时|RetentionPolicy.RUNTIME)
  10. ●BZOJ 4310 跳蚤
  11. 用jenkins创建节点
  12. 第四十篇-private,public,protected的区别
  13. js转盘大抽奖 自定义概率
  14. 【css3】画‘百分比圆’
  15. JAVA自学笔记13
  16. python基本数据类型之字符串(四)
  17. ESP32 environment ubuntu
  18. java 报错英文
  19. shell分析http日志
  20. @Primary 注解引出的问题

热门文章

  1. C++学习书籍推荐《More Exceptional C++》下载
  2. C语言学习书籍推荐《C程序设计语言(第2版•新版)》下载
  3. 微信小程序 键盘显示短信验证码
  4. CentOS下配置apache+gitweb
  5. LiteDB源码解析系列(2)数据库页详解
  6. Vue双向绑定原理及其实现
  7. PHP与ECMAScript_2_数据类型
  8. Docker 安装部署Sql Server
  9. JAVA-Spring AOP基础 - 代理设计模式
  10. 关于 &#39;&lt;a[^&gt;]+href=[&quot;\&#39;](.*?)[&quot;\&#39;]&#39; 的解释