<!DOCTYPE html>
<html>
<head>
<style>
h2 {
padding: 5px;
border-bottom-style: ridge;
border-bottom-width: 20px thin;
}
div {
padding: 5px;
border-style: ridge;
border-bottom-width: 20px;
}
</style>
</head>
<body>
<h2>Заголовок с нижней границей 20px thin</h2>
<div>div элемент с нижней границей 20px thick.</div>
</body>
</html>