Git Product home page Git Product logo

peeler.js's Introduction

peeler.js

A library to add peeling to the center of your content. This was inspired by the brilliant folks over at Teehan+Lax and introduced in their blog post for UX considerations for Medium.

Look at the demo of the user experience here! http://mattduvall.com/peeler.js/

gif of demo

Usage

Getting the peeling to your content will be quick and easy, follow these few steps:

  1. Include peeler.css and peeler.js.
  2. After the JS is loaded, start the peeler by doing (new Peeler()).bind()
  3. You are good to go?

What are peelable elements?

Every <article> element will become "peelable", the height of the peel will be set to the current screens height.

To override this, add a data-height attribute to the <article>. Supported heights are only greater than the screen.height.

Open issues

  • Interaction to peel a page that is smaller than the screen height?

peeler.js's People

Contributors

mduvall avatar

Stargazers

Hugh Francis avatar Angus H. avatar keigo LaTe4 EMURA avatar Sean Fischer avatar  avatar Dmitry avatar timelyportfolio avatar  avatar Fabien Franzen avatar JT5D avatar amitabha ghosh avatar  avatar Cam Song avatar Jörn Röder avatar  avatar HU Yang Gang avatar  avatar HaraShun avatar Jérémy Chatard avatar Chauncey McAskill avatar Sébastien Dumont avatar Hüseyin Mert avatar  avatar Anthony P. Alicea avatar Bernardo Castro avatar Daniel Weck avatar Ben Kalsky avatar  avatar Jentan Bernardus avatar Adnan Topal avatar Morgan Craft avatar Zachary Zimbler avatar sm avatar Ben avatar Martin Angelov avatar Oğuz Çelikdemir avatar Robbie Colvin avatar Aftab Khalid avatar Pedro Maciel avatar Joohun, Maeng avatar Daniel Lewandowski avatar A973C avatar Vasiliy Bukharev avatar Sevenate avatar Michael Stanescu avatar Sergey Arustamov avatar Oliver Niemann avatar Bharani avatar Yuya Saito avatar Ahmed Bouhuolia avatar Jonathan Barratt avatar  avatar Alex Galushka avatar Flip avatar Alexey Efremov avatar Tyler Sticka avatar Rostyslav Diachok avatar Maxim Kernozhitskiy avatar Alex Vasilenko avatar Stanislav avatar Ruslan avatar Valentine Zavadsky avatar  avatar Alexey Volkov avatar Dmitry Lavrov avatar Roman avatar Axelaredz avatar Artem avatar Vladimir Sklyar avatar Sergey Bezrukov avatar Alexander Khlebnikov avatar Nick Lau avatar Laurens Nienhaus avatar Rude avatar andrew avatar Hans-Peter Buniat avatar Thorsten Schmitt-Rink avatar Raghd Hamzeh avatar Prof Syd Xu avatar Volodymyr Floreskul avatar Bogdan Kulynych avatar Eugene Borshch avatar Roman Spiridonov avatar Max Demchenko avatar Artem Melnykov avatar Arif Widipratomo avatar Luis Ramos avatar José SAYAGO avatar Evan Stein avatar Mike Fowler avatar Shawn Pais avatar Phillip Reichelt avatar Ianko Leite avatar Rimenes Ribeiro avatar Deirdre Connolly avatar Chris Kelner avatar Izon Thomaz Mielke avatar Andrei avatar Igor Petrov avatar Aleksandr Kukhta avatar

Watchers

shashank singh avatar  avatar Hans-Peter Buniat avatar amitabha ghosh avatar Razvan Mihalcea avatar James Cloos avatar keigo LaTe4 EMURA avatar  avatar

peeler.js's Issues

Preview not available

To keep things short, there's a 1014 Error on the demo website, which I couldn't access. Just letting you know that there's some fixing ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.