I want to have a text as a watermark (centered and on top of the screen) but when I use the z-index property, I lose the ability to interact with any other elements present behind it. Help, please!
Code-
.watermark-text {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
position: fixed;
z-index: 1;
}
<p class="watermark-text">A Web Dev Course Project</p>