I'm trying to figure out how to create a custom background effect for text.
In other words, how can I make something like this:
Use the 元素 https://developer.mozilla.org/en/docs/Web/HTML/Element/mark并调整行高
mark {
display: inline-block;
line-height: 0em;
padding-bottom: 0.5em;
}
<h1><mark>Lorem ipsum</mark></h1>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)