Text not appropriate when applying CSS scale effect?

Fiddle: http://jsfiddle.net/d4hqjv3p/

I am trying to create text using css. when i use zoom effect on text it appears blurry. But after the animation finishes, it will return to clear text.

Code:

<style>
    div {
        position: absolute;
        margin:100px;
        left:0;
        top:0;
        font-size:20px;
        font-family: arial;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
    }

    .scale {
        -webkit-transform: scale(3);
        -moz-transform: scale(3);
    }
</style>

<div>5</div>
<input type="button" value="Click to Animate" onClick="clickme()" />

Script :

function clickme() {
  $("div").addClass("scale");
}

      

+3
javascript jquery html css


source to share


No one has answered this question yet

See similar questions:

12
when scaling an element with css3 scale it becomes pixelated until the animation is complete. I am animating an element with a border

or similar:

2687
Can CSS be applied to half a character?
2241
When to use margin vs padding in CSS
2190
How to render text or image with transparent background using CSS?
2167
How to vertically center text using CSS?
960
How do I apply CSS to an iframe?
815
Stretch and scale CSS image in background - CSS only
781
When to use IMG versus CSS background?
754
CSS center text (horizontally and vertically) inside a div block
632
How to apply! Is it important to use .css ()?
580
Stretching and scaling CSS background



All Articles
Loading...
X
Show
Funny
Dev
Pics