鼠标滑过出现div 盒子,鼠标移走盒子消失,代码怎么写?

如题所述

<style>
.div1{ width: 150px; height: 150px;text-align: center; margin: 0 auto;}
.div1:hover { width: 148px; height: 148px; border: 1px solid #FF0000;}
</style>
<div class="div1">
显示盒子的地方
</div>追问

麻烦你看下图片 我表达的是这个意思

追答

下面就是你要的功能可以直接下载!
http://fjdx.sc.chinaz.com/Files/DownLoad/webjs1/201508/jiaoben3558.rar

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答