Smart Dropcaps with JavaScript & jQuery

This is a simple but powerful (and fun) JavaScript+jQuery dropcaps solution. It uses a combination of js and css to render a drop cap at the start of the first child paragraph of a given div class (or id). The letter will span a specified number or rows precisely, and will resize according to font size and line height.

Open in CodePen