201601041244_《Javascript操作link等(兼容写法)》
var link = document.getElementsByTagName('link')[0]; var sheet = link.sheet || link.styleSheet; //兼容ie
前端-语言
var link = document.getElementsByTagName('link')[0]; var sheet = link.sheet || link.styleSheet; //兼容ie