[英]I'm new to Js and i'm trying to learn some jQuery
What i'm trying to do is set the images to opacity.5 when opening.我要做的是在打开时将图像设置为 opacity.5。 Then when i hover over one of the images, that image should be set to opacity 1 using jQuery.
然后,当我在其中一张图像上使用 hover 时,应使用 jQuery 将该图像设置为不透明度 1。
HTML HTML
JS JS
On line 2 selector should be only .bilder because it is class.第 2 行选择器应该只有.bilder ,因为它是 class。 # is used when it is id.
#为id时使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.