Reputation: 673
On hovering Text gets blured(on Chrome).
I know this is because of SCALING of text..
So my question is is there any way to do the same task in which text doesn't get blured.
Here is what I have tried
span a {
font-size: 24px;
}
span:hover a {
color: #ba4a49;
-webkit-transform: scale(10);
transition: all 2s linear;
}
<span>
<a href="#">Hello this looks blured during transition</a>
</span>
span:hover a {
color: #ba4a49;
font-size:250px;
transition: all 2s linear;
}
Upvotes: 2
Views: 159
Reputation: 20359
To prevent blurring, you can transition on font-size
instead of on transform: scale
. For what it's worth, I didn't experience any blurring problems with your example on my own Chrome browser.
Live Demo:
span a{
font-size: 24px;
}
span:hover a{
color:#ba4a49 ;
font-size: 240px;
transition: all 2s linear;
}
<span><a href="#">Hello this looks blured during transition</a></span>
Upvotes: 3