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

Funny Text Size too big! #1

Closed
silvermanners opened this issue Apr 19, 2014 · 3 comments
Closed

Funny Text Size too big! #1

silvermanners opened this issue Apr 19, 2014 · 3 comments

Comments

@silvermanners
Copy link

I am trying to animate a text that is 20px Arial inside a container of 150px width by 50px height but the animation is simply too big. Is there a way to adjust the final animated size to fit with the height and width of the container? Thanks.

@silvermanners
Copy link
Author

.active {
    font-size: 20px !important;
}
.normal{
    font-size: 20px !important;
}

seems to work. I am still interested if there is a way to make it fit automatically inside any container size.

@alvarotrigo
Copy link
Owner

Could you reproduce it in jsfiddle? I don´t see what problem are you facing.
http://jsfiddle.net/64dfj/

@silvermanners
Copy link
Author

It's been sorted out. I missed the font-size attribute from your docs. Mark as resolved.

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