3d-cube-css
v1.0.6
Published
Build cube 3d in css
Downloads
19
Readme
Cube 3d css
npm i 3d-cube-css
import createCube from '3d-cube-css';
create div with id and class in html
id="cube-container" class="cube-container"
calling createCube function with options Only size to work
createCube(
{
size: 300,
wireframes: true, //option
rotate: true, //option
rotY: 1, //option
rotX: 1, //option
imgSrc: 'img.svg' //option,
bgColor: '#f0f0f0' //option black default
}
)