::placeholder

The ::placeholder pseudo element (or a pseudo class, in some cases, depending on the browser implementation) allows you to style the placeholder text of a form element. As in, the text set with the placeholder attribute: <input type=”email” placeholder=”jane@firefly.com”> You can style that text across most browsers with this smattering of vendor-prefixed selectors: ::-webkit-input-placeholder { … Continue reading ::placeholder