Logic Machine Forum
Z-buffer - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Z-buffer (/showthread.php?tid=1049)



Z-buffer - Thomas - 19.10.2017

Hi
I've two interferring objects in my visu. Can I set "Bring to top" and "Send to bottom"? Or is there any other trick how to move an object to background? CSS?

Thank you in advance.


RE: Z-buffer - Erwin van der Zwart - 19.10.2017

Hi,

Give your elements a custom class like ontop and onbottom and use this as custom css:
Code:
.ontop {
   z-index: 80 !important;
}
.onbottom {
    z-index: 60 !important;
}
Depending on the original z-index of the elements, you might need to change the 60 and 80 value

BR,

Erwin


RE: Z-buffer - Thomas - 24.10.2017

Thank you it works!