演示代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="reset.css"/>
<style type="text/css">
div{
width: 300px;height: 200px;
background-color: #0000ff;
border: 2px #ff0000 solid;
border-radius: 10px;
box-shadow: 1px 1px 1px #ccc;
outline: 4px #00ff00 solid;
}
</style>
</head>
<body>
<!--
轮廓设置:
语法:outline: 轮廓宽度 轮廓颜色 轮廓样式;
轮廓加载 边框之外
-->
<div></div>
<br />
<input type="text" name="" id="" value="" />
<br />
<textarea></textarea>
<br />
<select name="">
<option value=""></option>
</select>
</body>
</html>