如何查找到css中element.style
的有关信息介绍如下:css中如何查找element.style属性。
按F12,打开“开发人员工具”,可以看到img标签有element.style属性。
右键本页面空白处,在打开的菜单中选择“查看源代码”。
在源代码中可以找到相应的img标签,其后面的“style”内容就是element.style对应的属性,修改style相应的element.style就会改变。
图中body中style也显示有element.styl。
查看源代码,在对应的body标签上并没有找到style属性。
在源代码页面中查找“background”。
可以看到body的background是写在