UNPKG

infamous

Version:

A CSS3D/WebGL UI library.

19 lines (13 loc) 493 B
export default { // all items of the scene graph are hidden until they are mounted in a // scene (this changes to `display:block`). display: 'block', boxSizing: 'border-box', position: 'absolute', top: 0, left: 0, // Defaults to [0.5,0.5,0.5] (the Z axis doesn't apply for DOM elements, // but will for 3D objects in WebGL.) transformOrigin: '50% 50% 0', // default transformStyle: 'preserve-3d', }