Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/20tab/jquery-eyes

Eyes is a jQuery plugin to create eyes in your html pages.
https://github.com/20tab/jquery-eyes

Last synced: 21 days ago
JSON representation

Eyes is a jQuery plugin to create eyes in your html pages.

Awesome Lists containing this project

README

        

# Eyes jQuery Plugin

Eyes is a jQuery plugin to create eyes in your html pages.

## Usage

Include the plugin script

``` html

```

``` js
$("#eyes").Eyes();
```

or to customize properties

``` js
$('#customEyes').Eyes({
width : 92,//eyes' width
height : 40,//eyes' height
eyeWidth : 34,//width of single eye
borderRadius : 30,//border radius for eye element
pupilBG : '#231F20',//pupil's background
pupilWidth : 20,//pupils' width
pupilHeight : 20,//pupils' height
pupilBorderRadius : 20,//pupils' border radius
});

```