Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJames Barnett
39,199 PointsLined Paper - a Micro Typography Framework
So I got bored today and made this it's pure CSS and works in all major browsers including IE10+. For all your typography baseline grid needs.
http://codepen.io/barnettjw/full/JhkrL
Let me know what you think.
5 Answers
Alan Johnson
7,625 PointsThat's pretty awesome, James! I did notice that the text was crossing paper lines in the block quote section. Is that because of a browser inconsistency?
Ryan Carson
23,287 PointsLike it - nice work!
John Harrington
1,372 PointsIt's the difference in font size that's causing the text to go off the lines, notice the Subhead pushes it off a little too! Forked it and fixed, now uses 1.5em as the distance between lines, and multiples of 1.5em as line-height on all the elements :) http://codepen.io/John92/full/mswAg
Great work James! Brilliant idea :D
James Barnett
39,199 Points@John I think that did it, thanks!
James Barnett
39,199 PointsYou can also use the same technique to compare typefaces.
I often find myself trying to tell the difference between 2 sans-serif typefaces.
So I made this version to be able to better see ascenders, descenders and other microtypography goodness.