change display css in button from display:inherit
to display:contents
button{
background: none;
border: 0;
margin: 0;
padding: 0;
display: contents;
font-family: inherit;
font-size: inherit;
font-weight: inherit;
font-stretch: inherit;
font-style: inherit;
letter-spacing: inherit;
color: inherit;
white-space: normal;
}
.demo{
width: 150px;
background: #ccc;
}
a, button{
text-decoration: underline;
}
<h3>With a button</h3>
<p class="demo">
Hello world <button>find more information here</button> and keep calm
</p>
<h3>With an anchor</h3>
<p class="demo">
Hello world <a>find more information here</a> and keep calm
</p>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…