Created
October 30, 2019 07:46
-
-
Save amorfati0310/221991f2b59dbcbdc3dbb0d682df8ff4 to your computer and use it in GitHub Desktop.
textarea.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
<title>Document</title> | |
<style> | |
textarea::-webkit-input-placeholder { | |
color: #0bf; | |
text-align: center; | |
line-height: 200px; | |
} | |
textarea:-moz-placeholder { | |
/* Firefox 18- */ | |
color: #0bf; | |
} | |
textarea::-moz-placeholder { | |
/* Firefox 19+ */ | |
color: #0bf; | |
} | |
textarea:-ms-input-placeholder { | |
color: #0bf; | |
} | |
textarea::placeholder { | |
color: #0bf; | |
} | |
textarea { | |
width: 500px; | |
height: 200px; | |
} | |
</style> | |
</head> | |
<body> | |
<textarea placeholder="Search"></textarea> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment