<style> | |
div { | |
font-family: 'Ahem'; | |
font-size: 20px; | |
line-height: 20px; | |
} | |
.clip { | |
color: transparent; | |
background-image: linear-gradient(60deg, blue, yellow, blue, yellow, blue); | |
background-clip: text; | |
} | |
</style> | |
<div>a <span class="clip">b<br> | |
c d<br> | |
<span>e </span>f</span> | |
</div> |