<!DOCTYPE html>
<html>
<head>
<title>Заголовок документа</title>
<style>
h2 {
padding-bottom: 8px;
text-align: center;
border: 12px groove #1c87c9;
border-top-color: transparent;
}
</style>
</head>
<body>
<h2>Заголовок с верхней границей transparent</h2>
</body>
</html>