There's some grammar fault in your code, and I think black layer needs add some transparency, to show white layer.
Try [background-image:linear-gradient(to_bottom,_#062142aa_25%,_#212639aa_100%),_linear-gradient(to_bottom,_#ffffff_0%,_#ffffff_24%,_#212639_100%)]