I want to use text-stroke and make text transparent over image. But when I do it, text-stroke also show the lines which are inside the text. I use Montserrat(from google fonts). I would like to get your help
here is my html and css codes:
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=block');
.header-title {
font-family: 'Montserrat', sans-serif;
font-size: 66px;
font-weight: 900;
line-height: 117.02px;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 2px black;
-webkit-font-smoothing: antialiased;
}
<h1 class="header-title">ABCD EFGH</h1>