Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/herrfugbaum/cato.js

Dependency-free library for (image) comparison sliders.
https://github.com/herrfugbaum/cato.js

before-after cato compare-images comparison-sliders css html image-comparison js

Last synced: 13 days ago
JSON representation

Dependency-free library for (image) comparison sliders.

Awesome Lists containing this project

README

        

- [About](#about)
- [How To](#how-to)
- [With a CDN](#with-a-cdn)
- [Changelog](#changelog)

[![Build Status](https://travis-ci.org/herrfugbaum/cato.js.svg?branch=master)](https://travis-ci.org/herrfugbaum/cato.js)
[![codecov](https://codecov.io/gh/herrfugbaum/cato.js/branch/master/graph/badge.svg)](https://codecov.io/gh/herrfugbaum/cato.js)

# About

**C**ompare **A**pples **T**o **O**ranges

![Cato Logo](https://s3-us-west-2.amazonaws.com/s.cdpn.io/496585/Cato_Logo120x150.png)

cato.js is a dependency free library for (image) comparison sliders.

It currently gets rewritten in modern JavaScript.
Version 1.0.0 (WIP) aims to bring more flexibility, less boilerplate html and better browser support.
You can find more info in the [roadmap](https://github.com/herrfugbaum/cato.js/issues/2) issue.

For the initial (Webkit only) release see [v0.0.1](https://github.com/herrfugbaum/cato.js/releases/tag/v0.0.1)

# How To

## With a CDN

Place the stylesheet inside the `````` tag of your HTML file.
```html

```

Place the script just before your closing ```