Relative Content

Tag Archive for htmlcssrazor

CSS before and after layouts are not working in razor page

I have taken this CSS code and the HTMl, and dropped it into my razor and razor.css documents.
https://codemyui.com/fallout-pip-boy-screen-in-css-and-html/
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?