css anchor fill parent

CSS
a {
  display: flex;
  justify-content: center;
  align-items: center;
}
Source

Also in CSS: