1.0.6 • Published 2 years ago

3d-cube-css v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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
  }
)
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago