為什么intI是比較小的數(shù)的時候不管用,是稍微大點的又能實現(xiàn)越點字越大了
<script type="text/javascript">
? ? ? ? ? ? $(function () {
? ? ? ? ? ? ? ? var intI = 0;
? ? ? ? ? ? ? ? $("div").bind("click", function () {
? ? ? ? ? ? ? ? ? ? intI++;
? ? ? ? ? ? ? ? ? ? $(this).css("font-size", intI + "px");
? ? ? ? ? ? ? ? })
? ? ? ? ? ? });
? ? ? ? </script>
2016-03-12
如果在google瀏覽器是不支持12px以下的文字