<!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>
温馨提示:答案为网友推荐,仅供参考