<style>
#ice a{
color:red;
}
#ice a:hover{
color:blue;
}
</style>
</head>
<body>
<div id="ice"><a href="#">test</a></div>
<input type="button" value="setCSS" onclick="document.styleSheets[0].rules[1].style.color='#ff0'"/>
</body>
#ice a{
color:red;
}
#ice a:hover{
color:blue;
}
</style>
</head>
<body>
<div id="ice"><a href="#">test</a></div>
<input type="button" value="setCSS" onclick="document.styleSheets[0].rules[1].style.color='#ff0'"/>
</body>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货