I built it fine static proof of concept fine:-
However when I tried to build it dynamically (so I can just call the function and everything is added to the document) it doesn't seem to work.
I have minified my code only to display the overlay initially which I think is the issue:-
When I look at the code after its been executed, all I get is:-
It doesnt seem to store any of the CSS values Ive been adding, which I belive should be added in:-
However as far as Im aware I can chain the CSS statments like this.
Anyone have any idea what I'm doing wrong?