I have taken this CSS code and the HTMl, and dropped it into my razor and razor.css documents.
when I run it, however, the screen:before and screen:after either cover the entire page or do not show up at all.
Does anyone have any idea what I am doing wrong here?
I have tried making the position relative and messing with the layout anchors, but it always results in all or nothing coverage. I just want those two to overly the screen and nothing else.
New contributor
Collin Russell is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.