Thanks everyone! A few things planned for this in the future, including:
- Vanilla JS version (I believe @Ben Howdle is already making plans with this)
- Ability to define breakpoints at which the baseline changes
- Calculating the baseline automatically from line-height etc
Nice idea - But it seems to shrink the images... How would this work if you had images full width of a column? Surely they would shrink and not fit perfectly?
@Jason Mayo that's what the plugin does - it sets a max-height to the images based on the baseline you give it, causing the image to change width, too.
15 Responses
I had a problem with maintaining vertical rhythm after meticulously crafting a typographic baseline. So I scratched my own itch.
Baseline.js - vertical rhythm made easy.
12 months ago
Awesome tool! Thanks for this.
12 months ago
Cool!
12 months ago
Great job Dan!
12 months ago
You're too good. Perfect demo as well.
12 months ago
This is going to be mega useful! Thanks dude.
12 months ago
yess
12 months ago
Thanks everyone! A few things planned for this in the future, including:
- Vanilla JS version (I believe @Ben Howdle is already making plans with this)
- Ability to define breakpoints at which the baseline changes
- Calculating the baseline automatically from line-height etc
12 months ago
Nice idea - But it seems to shrink the images... How would this work if you had images full width of a column? Surely they would shrink and not fit perfectly?
12 months ago
Great job!
12 months ago
@Dan Eden You are right.
12 months ago
I was just working on something almost identical to this! Yours is better... 3
12 months ago
Nice!
12 months ago
Yeah, it's made - JS version, no jQuery -> BaselineJS
12 months ago
@Jason Mayo that's what the plugin does - it sets a max-height to the images based on the baseline you give it, causing the image to change width, too.
12 months ago