I'm looking to incorporate the
background:rgba(226, 93, 141, 0.76)
attribute into the body:after
psuedo-element once my page has finished loading.
Below is my HTML and CSS code:
<style runat="server" id="myStyle" >
body:after{
position:fixed;
content:"";
top:0;
left:0;
right:0;
bottom:0;
z-index:-1;
}
</style>
Is there a way for me to target the body:after
element during the page load event?