This example uses two absolutely positioned “lines” to take the place of the top border. Designed by Dave Judd
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen Transparent H1 Intersects Border – A Pen For /u/nXception by Dave Judd (@SirDaev) on CodePen.0