Masking a part of a border
enter image description here
Applying mask on part of an element
I’m encountering difficulty in applying a mask to only the top portion of an element rather than the entire element. I’m uncertain if I’m approaching this correctly.