Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertical rhythm for multiple line heights #2

Open
anartfulscience opened this issue Sep 27, 2015 · 5 comments
Open

Vertical rhythm for multiple line heights #2

anartfulscience opened this issue Sep 27, 2015 · 5 comments

Comments

@anartfulscience
Copy link

Hello,

Is there a way of setting the baseline line height for multiple heights?

I've a site where the font size and line height changes based on the breakpoint and it would be great to use this script taking this into account.

Thanks, Stephen

@slavafomin
Copy link
Member

Hello Stephen!

Thank you for your interest in this library. Sadly, right now there is no such ability.

This library is considered experimental for us and therefore I consider it low-priority. However, I will keep it in mind and maybe we will introduce such a feature later on. Do you have implementational ideas?

Cheers!

@anartfulscience
Copy link
Author

Thanks for the quick reply :) The only thing I've devised so far was a sass mixin where you defined the height by the number of lines which included breakpoints. The image is set as a cover or contain. It works quite well, but I'd prefer simpler implientation and your script almost fit.

All the best. Stephen

@pandroid
Copy link

Hi,

I have the same "problem".
I tried to change the variable for baseline depending on window.width and my breakpoints. But your script don't check the baseline variable on window.resize.

But my javascript knowledge is very limited. ;-)

It would be really great if your script could do this.

Cheers!

@luishdez
Copy link

luishdez commented Nov 6, 2015

+1 same thing :)

@bovisp
Copy link

bovisp commented Jun 21, 2016

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants