展会信息港展会大全

CSS里也能写脚本? android软件开发教程
来源:互联网   发布日期:2016-03-25 16:23:00   浏览:2957次  

导读:代码如下 复制代码 style type=text/CSS .showCSS{ event:expression( onmouseover = function() { this.style.backgroundColor=‘#f0f0f0‘ }, onmouseout = function() { this.style.backgroundColor=‘#ffffff‘ } ) } /style div class=showCSS把鼠标放...

代码如下

复制代码

<style type="text/CSS">

.showCSS{

event:expression(

onmouseover = function()

{

this.style.backgroundColor=‘#f0f0f0‘

},

onmouseout = function()

{

this.style.backgroundColor=‘#ffffff‘

}

)

}

</style>

<div class="showCSS">把鼠标放上去试试看!:)</div>

赞助本站

人工智能实验室

相关热词: 开发 编程 android

AiLab云推荐
推荐内容
展开

热门栏目HotCates

Copyright © 2010-2024 AiLab Team. 人工智能实验室 版权所有    关于我们 | 联系我们 | 广告服务 | 公司动态 | 免责声明 | 隐私条款 | 工作机会 | 展会港