Coder Social home page Coder Social logo

ben-eb / bassline Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.07 MB

A baseline typographic generator to assist with keeping a consistent vertical rhythm for web based layouts.

Home Page: http://ben-eb.github.io/bassline

CSS 39.94% JavaScript 60.06%

bassline's Introduction

#Bassline

Bassline is a tool that generates a baseline typographic grid, to help you establish a consistent vertical rhythm for layouts on the web. It works best in WebKit browsers as they have support for the range input type, but it will fallback fairly well in Firefox. As the grid is dynamically generated the tool still works in Opera but no grid lines are shown. This has not been tested in IE, but the output of the program will work in all modern browsers.

##Usage

Simply drag the sliders on the left hand side to achieve the desired font size/line height combination. The changes will appear dynamically on the right hand side; copy the CSS from the textarea and paste it into your project.

##Issues

###Known issues

  • Some combinations of font size and line height will break the grid generated. The best way around this problem is to try a slightly different line height/font size combination!
  • Bassline makes heavy use of HTML5 sliders which are not supported in Firefox, and gradients to generate the grid lines (not supported by IE or Opera). For this reason it is best to run Bassline in either Safari or Chrome.
  • The image generator may break the grid lines at times, although the CSS output paired with real images seems to work.
  • This tool has not been designed to work in IE!

###Contact

Please report any other issues you have using one of the following:

bassline's People

Contributors

ben-eb avatar

Watchers

 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.