<!DOCTYPE html>
<html>
<head>
<title>Border-top-color propertyu in CSS</title>
<style type="text/css">
.mybox {
border: solid 0.3em gold;
border-top-color: red;
width: auto;
}
.greentext {
color: green;
}
</style>
</head>
<body>
<div class="mybox">
<p>This is a box with a border around it. Note which side of the box is <span class="greentext">green</span>.</p>
</div>
</body>
</html>