是否可以在换行符上向锚标记添加填充?

Zai*_*ain 2 html css

我有以下带填充的链接。在移动屏幕上,它有一个换行符。是否可以在第一行的末尾和第二行的开头添加填充?

div {
  max-width: 30rem;
  margin: 5rem auto;
}
a {
  padding: 10px 20px;
  background: red;
  line-height: 200%;
}
Run Code Online (Sandbox Code Playgroud)
<div>
  <a href="#">Read More: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</a>
</div>
Run Code Online (Sandbox Code Playgroud)

Tem*_*fif 5

使用box-decoration-break

div {
  max-width: 30rem;
  margin: 5rem auto;
}

a {
  padding: 10px 20px;
  background: red;
  line-height: 200%;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
Run Code Online (Sandbox Code Playgroud)
<div>
  <a href="#">Read More: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt</a>
</div>
Run Code Online (Sandbox Code Playgroud)