Skip to content

Instantly share code, notes, and snippets.

@AliMD

AliMD/gist:3759919

Created Sep 21, 2012
Embed
What would you like to do?
Placeholder style trick

Placeholder style trick

<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8" />
	<title></title>
	<style type="text/css">
		input::-webkit-input-placeholder {
			color:lightseagreen;
		}
		input:-moz-placeholder {
			color:lightseagreen;
		}
	</style>
</head>
<body>
	<form action="">
		<input type="text" placeholder="Search ..." />
	</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment