infamous
Version:
A CSS3D/WebGL UI library.
21 lines (20 loc) • 556 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _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'
};
exports.default = _default;
;