Border between thead and tbody on table

Hello,

Is it possible to add 2px border between thead and tbody on table.And when tbody is scrolling ,this added border must be under the thead.

Let me know if you have any suggestions.

border-bottom should do the trick

th {
  border-bottom: 2px;
}