日期:2014-05-02  浏览次数:22284 次

文章简介:CSS修饰input内阴影

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网页教学网-CSS修饰input内阴影</title>
<style>
.search{width:200px;height:24px;padding:0;border:1px solid #ccc;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}
</style>
</head>
<body>
<input type="text" class="search">
</body>
</html>