Base.prototype.css=function(attr,value){
// this.elements[0].style.attr=value;
this.elements[0].style[attr] = value;
return this;
提问:style['color']这种写法是报错的,为什么传参过来就可以?谢谢老师
}