GithubHelp home page GithubHelp logo

siathalysedi / rdbl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kezzbracey/rdbl

0.0 3.0 0.0 160 KB

A simple script to help you design "Readable First" responsive layouts

License: MIT License

HTML 18.06% JavaScript 77.45% CSS 4.49%

rdbl's Introduction

RDBL

A simple script to help you design "Readable First" responsive layouts.

###Demo

http://thekezzforge.kezzbracey.com/RDBL/

###Readable First - A Responsive Design Approach That Is:

  • Device Agnostic
  • Resolution Agnostic
  • Content First

###Principles:

  • Don't set a base font size, leave that to the browser / user agent. (Props to The Goldilocks Approach for this concept).
  • Build your design in ems / rems, allowing flexible layout that adjusts to the browser / user default font size.
  • Enter dummy content at the start of the design process
  • Use the RDBL widget to check for readability of said content then create breakpoints where the readability breaks.

###Usage

Please see the demo for how to load up the widget.

Note, the 'characters per line' value is estimated via the first paragraph tag in your target readable element.

###Note on Readability

The default range 'characters per line' range used is 63 - 81 characters, aiming for optimal readability in consideration of saccades (eye movements) per line and comfort for the eye.

This is based on the eye taking in an average of 7 - 9 characters per saccade, and targeting approximately nine saccades per line.

http://en.wikipedia.org/wiki/Eye_movement_in_language_reading

However this is a guideline and you can adjust to whatever you personally think is right.

###Firefox only

Right now only Firefox support all the stuff this does, so please use that.

###Credits

Thanks to Leon Gersen for the noUISlider: http://refreshless.com/nouislider/

rdbl's People

Contributors

kezzbracey avatar

Watchers

Arnstein Henriksen avatar James Cloos avatar  avatar

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.