0

how to add margin in 3d space?

I'm currently making a 2x2x2 Rubik's cube using HTML, CSS3 and JavaScript. I want to know if there is an efficient way of adding distance dynamically between the 8 cubies other than manually changing their fixed position in css.

28th Nov 2017, 2:04 AM
Jonathan Pizarra
Jonathan Pizarra - avatar
1 Answer