article:
JS Plugin: tiltShift
article:
Resource: Typicons

JS Plugin: Baseline

Advertisement

Plugin: Baseline"Baseline.js is a jQuery plugin that helps you to maintain vertical rhythm set by a typographic baseline, even when adding inline images with awkward sizes."



Screenshots

Plugin: Baseline

Plugin: Baseline


Usage

Simply call the plugin like so, passing the height of your baseline as a variable. It even works on responsive designs!

$('img').baseline(24); // Apply a 24px baseline to all images on the page
$('.content img').baseline(30); // Apply a 30px baseline to all images inside .content

You can also define multiple baselines for different breakpoints.

$('.content img').baseline({'0px':24, '700px':30}); // Apply a 24px baseline for all widths, 30px for widths above 700px



source
github
download

Advertisement
Tags: plugin, jquery, responsive, image, website, web, develop, internet, mobile, desktop

Leave a Comment

No Comment

© Creative3x Ltd.