单独为每一条边框设置对应的属性
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
div{
width: 200px;
height: 200px;
border: 5px solid #000; /*连写*/
/* border-bottom: 5px solid yellow 单条边框也可以连写*/
border-top-color: red;
border-bottom-color: yellow;
border-left-color: blue;
border-right-color: pink;
}
</style>
</head>
<body>
<div>
奥特曼大战怪兽!!
</div>
</body>
</html>