Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
h1 {
  border-top-style: groove;
  border-top-color: coral;
  border-top-width: 7px;
}
div {
  border-style: solid;
  border-top-style: groove;
  border-top-color: coral;
  border-top-width: 7px;
}
</style>
</head>
<body>
<h1>A heading with a groove top border</h1>
<div>A div element with a groove top border.</div>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_border-top-style6 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:35:57 GMT -->
</html>