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

Text appears unsettled during transforms #30

Open
ygoe opened this issue Mar 26, 2013 · 2 comments
Open

Text appears unsettled during transforms #30

ygoe opened this issue Mar 26, 2013 · 2 comments

Comments

@ygoe
Copy link

ygoe commented Mar 26, 2013

In Firefox, the text changes its appearance during the moving transform. At first it's normal, but when the target position has been reached, the text looks thin and has colour fringes. After a short moment, it reverts to a good rendering automatically. This is disturbing and looks strange. It does not happen in Chrome, other browsers untested. Windows 7. Also visible on your website, but not a strong as on mine.

Could I disable this transform by another CSS class or something? I don't think it is actually necessary, given that it doesn't work well.

@ygoe
Copy link
Author

ygoe commented Mar 27, 2013

Workaround: Disable the text shadow on the tooltip text. Here's my code snippet for a custom class:

.hint--noshadow:after
{
    text-shadow: none;
}

@chinchang
Copy link
Owner

Hmm, interesting. I haven't noticed this but I suppose this have to do with how browsers perform transitions on transform property. GPU is used in the transition which actually converts the whole element into bitmap while transiting.

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