题目详情
单选题 有如下代码:<script>$(function(){ $("ul>li").css("background-color","red") $("ul>li").each(function(index,val){ val.style.fontSize=index*5+10+"px"; $(this).css("opacity",(index+1)/10); });});</script>从下面四个选项中选出不能与划线语句等价的语句
A. this.style.fontSize=index*5+10+"px"
B. $(this).css("fontSize",index*5+10+"px")
C. $(this).css("font-size",index*5+10+"px")
D. $(this).css(font-size,index*5+10+"px")

学科:前端开发技术(2021级)
时间:2023-05-12 02:19:23
相关题目
相关作业
