EXAMPLE
Run
<!DOCTYPE html>
<html>

<head>
	<title>Border-top property in CSS</title>
	<style type="text/css">
		div {
		  border-top: inherit;
		  border-style: dashed;
		  border-color: red;
		  background-color: green;
		  height: 100px;
		  width: 100px;
		  font-weight: bold;
		  text-align: center;
		}
	</style>
</head>

<body>
	<div>This box has a border on the top side.</div>
</body>

</html>