I've noticed that when I try to set the z-index of a page element using inline style, px gets added to the value automatically but z-index needs a number not a pixel value.
So the web-browser won't accept it as a valid value and so Z-index effectively doesn't work because of it.
I'm doing
{
"z-index" => -1
}