<html>
<head>
<style>
div {
border-style: solid;
border-top-color: transparent;
}
</style>
</head>
<body>
<div>border-top-color 可以是透明的。</div>
<p><strong>注意:</strong>始终在 border-top-color 属性之前声明 border-top-style 或 border-style 属性。 元素必须有边框才能更改边框颜色。</p>
</body>
</html>