题海让大学四年没有难题
白天模式登陆

题目详情

单选题 有如下代码:<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级)课程封面

学科:前端开发技术(2021级)

时间:2023-05-12 02:19:23

Copyright © 2022 津ICP备2021001502号