g: 1px;
      outline: none;
    }

    input[type="search"]:hover, input[type="search"]:focus {
      background: #eee;
      box-shadow: 1px 1px 1px red,
                  inset 2px 2px 3px #666;
    }
  </style>
</head>

<body>
  <div>
    <form>
      <div>
        <label for="search2">搜索：</label>
        <input id="search2" name="search2" type="search">
      </div>
    </form>
  </div>
</body>

</html>
