I have crafted a simple animation for an h1
element, utilizing css3
and a transition on the font-size
.
Here is the link to view: http://jsbin.com/oPIQoyoT/1/edit
h1 {
position: relative;
width:500px;
height: 500px;
font-size: 3em;
transition: font-size 0.5s ease-in;
margin: 0 auto;
}
h1:hover {
font-size: 4em;
}
The animation appears smooth in Firefox, however it does not render properly in Chrome.
I've experimented with setting different positions, defining width and height, but nothing seems to resolve the issue.
How can I achieve the same level of smoothness in Chrome as seen in Firefox? Could you provide an example via jsbin?