White flat search form styling with CSS
In this tutorial you are going to learn how to create a simple, white and flat designed search form with HTML & CSS. Note that we only do the styling in this tutorial.
We can style the placeholder of an element with
At the moment you have to use prefixes for
Note that Mozilla has two different versions, because one has a single semicolon and newer version has two.
When a user puts our text-input into
focus the placeholder text becomes transparent.