0.0.4 • Published 4 years ago

rotate-html v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Rotate your HTML blocks vertically

Documentation: https://antonbobrov.github.io/rotate-html/

How to start with NPM

npm install rotate-html

How to start with CDN

<script src="https://cdn.jsdelivr.net/npm/rotate-html/dist/cdn/index.min.js"></script>

Example

<div id="rotate-html">This is a template node element.</div>
import rotateHtml from 'rotate-html';
rotateHtml({
    selector: '#rotate-html'
});

Rotation Example

Settings

OptionTypeDefaultDescription
selectorstring|HTMLElement#html-rotateThe selector of the element.
rotate90|-90-90Rotation angle.
updateOnResizebooleantrueIf you need to update the sizes of the element on resize.
0.0.4

4 years ago

0.0.3

4 years ago

0.0.1

4 years ago