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

Using -webkit-perspective makes the elements pixelated on zoom-in #110

Open
mladengorchev opened this issue Sep 16, 2015 · 1 comment
Open

Comments

@mladengorchev
Copy link

Hi there,

First thanks for the great work you have done!

I am trying to implement your plugin on a project I'm working on http://dev.mladengorchev.com/book_viewer/ , and it works great, except one thing.

On -webkit- browsers when I use the css "perspective" property and when I zoom-in (click on the book) it actually stays pixelated. I understand that this is not an issue with your plugin, however I don't know who else to ask for help...

If you open the above link in Firefox, it works fine. I've read that it might be because of the hardware acceleration, but I couldn't fix it....

Thank you!
Deni

@milos12345
Copy link

Try to doing something like
.book {
width:2000px;
height:1000px;
-ms-transform: scale(0.2,0.2); /* IE 9 /
-webkit-transform: scale(0.2,0.2); /
Safari */
transform: scale(0.2,0.2);
}
then when it is zoomed in it will stay sharp. I know it is an improvisation but when I was making my own website that was the only way

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