返回列表

转载:禁用IE10密码输入框中的小眼睛功能

默认分类 2014/05/27 03:12

http://www.iefans.net/wp-demo/ms-clear.html

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title> ::-ms-clear、::-ms-reveal 属性演示</title>

  <style type='text/css'>
    input { display: block; margin: 5px }
.t::-ms-clear { display: none; }
::-ms-reveal { display: none; }
  </style>

</head>
<body>

<input type="text" />
<input type="text" class="t" />
<input type="password" class="pwd" />
<input type="button" value="OK" />

</body>
</html>