假设我的页面中有一个框:
<div id="test" style="width:200px; height:200px; background:yellow">
this is a test
</div>
我只在我的页面中包含了"jquery-1.6.2.min.js“
然后我想改变字体大小,所以我使用
$('#test').animate({ fontSize: "10em"}, "slow");
然后我想更改我写的“background-color
我有一个简单的网页,其中打开的html标签有一个属性font-size:60% !important设置在css文件中。
<html>
<head>
... some js and css ...
</head>
<body>
... header ...
... content ... <-- need to replace that by new content
... footer ...
</body>
</html>
一切都渲染得很好(页眉/内容/页脚)。
我还有另一个文件,我已经将内容放在这个网页上(基于