Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lemehovskiy/animatedbrackets


https://github.com/lemehovskiy/animatedbrackets

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

animatedBrackets
-------

### Demo

[https://lemehovskiy.github.io/animatedBrackets/demo](https://lemehovskiy.github.io/animatedBrackets/demo/)

### Package Managers

```sh
# NPM
npm install animated_brackets
```

### Settings

Option | Type | Default
--- | --- | ---
points | array | ['0 20, 0 0, 100 0, 100 20','100 80, 100 100, 0 100, 0 80']
color | string | '#ffffff'
stroke_width | int | 10
duration | int | 1
delay | int | 1

Example:

```html


Lorem ipsum dolor

$('.animated-brackets').animatedBrackets({
points: [
'0 20, 0 0, 100 0, 100 100, 0 100, 0 80'
],
stroke_width: 8,
color: '#cacaca'
});

```

### Browser support

* Chrome
* Firefox
* Opera
* IE10/11

### Dependencies

* jQuery 1.7