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

