HTML5 search input appearance

/ Published in: CSS
Save to your folder(s)

This is a simple trick that allows you to design the html5 search input like another input.

Copy this code and paste it in your HTML
  1. input[type="search"] {
  2. -webkit-appearance: textfield;
  3. -moz-appearance: textfield;
  4. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.