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

https://github.com/alibahaari/resolutionjs

Don't show a web page in a specified resolution.
https://github.com/alibahaari/resolutionjs

resolution responsive

Last synced: 7 months ago
JSON representation

Don't show a web page in a specified resolution.

Awesome Lists containing this project

README

          

# ResolutionJS

***ResolutionJS*** will not show a web page in a specified resolution. It just uses *JavaScript*.

## Add Project

Just link SliderJS to your project :
```

```

## Initializing

Then, you should initialize properties, just copy the code below and paste it after the code above.
```

Resolution({
clientWidth: 500, // The maximum width of the window
clientHeight: 400, // The maximum height of the window
backGround: '#555', // The layer `background` property
textColor: '#F5F5F5', // The layer text `color` property
zIndex: 10000, // The layer `z-index` property
fontSize: '1.5rem', // The layer text `font-size` property
fontFamily: 'TimesNewRoman', // The layer text `font-family` property
displayMessage: 'Lorem Ipsum' // A text for displaying
});

```
*Note :* All the properties above should be filled; `backGround`, `textColor`, `fontSize`, `fontFamily`, `displayMessage` should be ***String***; `clientWidth`, `clientHeight`, `zIndex` should be ***Integer***.

## Minified

In the minified version, it uses Babel to feel free for using in old version browsers.