如何使用 Mootools 更改背景图像 css 属性?
我是新手。如何使用 Mootools 更改我的背景图像 css 属性?
I am newbie。 How to changing my background-image css property using Mootools?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
例如,在页面加载时:
Example, on page load:
Element.Style 的 MooTools 文档 应该能够为您解答这个问题。
The MooTools docs for Element.Style should be able to answer this one for you.
如果您决定要淡入图像,则需要采取明显不同的方法。
You need to take a significantly different approach if you decide you'd like to fade-in the image.