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

Scale multiple paragraphs to the same size #12

Open
jublikon opened this issue Jan 4, 2016 · 1 comment
Open

Scale multiple paragraphs to the same size #12

jublikon opened this issue Jan 4, 2016 · 1 comment

Comments

@jublikon
Copy link

jublikon commented Jan 4, 2016

I have got three text blocks next to each other each in its own div.
How can I achieve that the text size of each of the text blocks is the same
and fits into each div?

@DanielHoffmann
Copy link
Owner

Hey I did not understand exactly what you want to accomplish, this project objective is to make texts fit fixed-sized divs perfectly, no matter the div size. As such there is no way to make the plugin do what you ask, but you could just apply the plugin to one of the blocks, read its font-size and line-height and apply it to the other. Another option is to use the maximumFontSize option so at least if it is a value smaller than the div size both blocks would have the same size.

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

2 participants