Created
March 7, 2015 19:52
-
-
Save floscher/d3e751cb65e6e3f56e52 to your computer and use it in GitHub Desktop.
Minimal example for firefox bug 928449
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<script src="https://code.jquery.com/jquery.min.js"></script> | |
<style> | |
span { | |
top:10%; | |
left:50%; | |
position:absolute; | |
animation: scale 30s infinite alternate linear; | |
} | |
@keyframes scale { | |
from { font-size:20px } to { font-size: 3000px } | |
} | |
</style> | |
<span style="color:red;transform:scale(3)">A</span> | |
<span style="color:yellow; transform: scale(2)">A</span> | |
<span style="color:green">A</span> | |
<div id="size-display" style="z-index:500;display:absolute"></div> | |
<script>$(function() {setInterval(function () {$('#size-display').html($('span').css('font-size'));}, 50);});</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment