# css3-cube

> A canvas-free, CSS3 only cube

Latest version **0.1.11** (published 2021-07-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install css3-cube
pnpm add css3-cube
yarn add css3-cube
bun add css3-cube
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.11 |
| Published | 2021-07-13 |
| First published | 2019-02-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Zenoo |
| Maintainers | zenoo |
| Keywords | css3, cube, animation, interactive |

## Links

- npm: https://www.npmjs.com/package/css3-cube
- Repository: https://github.com/Zenoo/CSS3-Cube
- Homepage: https://github.com/Zenoo/CSS3-Cube#readme
- Issues: https://github.com/Zenoo/CSS3-Cube/issues
- npm.io page: https://npm.io/package/css3-cube

## Alternatives

- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [persona-harness](https://npm.io/package/persona-harness.md) — 4.7K weekly downloads
- [@tsparticles/effect-bubble](https://npm.io/package/@tsparticles/effect-bubble.md) — 4.6K weekly downloads
- [f3d](https://npm.io/package/f3d.md) — 730 weekly downloads
- [spark-html-motion](https://npm.io/package/spark-html-motion.md) — 298 weekly downloads

## Recent versions

- 0.1.11 (latest) — 2021-07-13
- 0.1.8 — 2021-03-31
- 0.1.7 — 2020-07-30
- 0.1.6 — 2020-07-30
- 0.1.3 — 2019-06-08
- 0.1.2 — 2019-02-28
- 0.1.1 — 2019-02-28
- 0.1.0 — 2019-02-28

## README

# CSS3 Cube

A canvas-free, CSS3 only Cube

[![Demo](https://github.com/Zenoo/CSS3-Cube/raw/master/cube-demo.gif)](https://jsfiddle.net/Zenoo0/krn7ygd3/)

### Doc

* **Installation**

Simply import CSS3 Cube into your HTML.
```HTML
<link rel="stylesheet" href="https://unpkg.com/css3-cube@0.1.7/Cube.min.css">
<script src="https://unpkg.com/css3-cube@0.1.7/Cube.min.js"></script>	
```
* **How to use**

Create a new [`Cube`](https://zenoo.github.io/CSS3-Cube/Cube.html) object with the targeted node as the first parameter :
```
let cube = new Cube('#yourNode', options);
// OR
let cube = new Cube(element, options);
```
* **Options**

```js
{
  ratio: 2 // Ratio at which mousemoves will impact the rotation of the cube
}
```

* **Example**

See this [JSFiddle](https://jsfiddle.net/Zenoo0/krn7ygd3/) for a working example

## Authors

* **Zenoo** - *Initial work* - [Zenoo.fr](https://zenoo.fr)

---
_Source: https://npm.io/package/css3-cube · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
