【JS】修改字体

改字体颜色:

node.style.fontSize="123px";

 

改颜色(用在父节点上):

parent.style.color="red";

posted @ 2021-12-10 21:35  不朽的飞翔  阅读(334)  评论(0编辑  收藏  举报