1 .html

<div style="margin:50px auto;width:900px;overflow:visible;">
<div id="test_01" class="test"></div>
<div id="test_02" class="test"></div>
<div id="test_03" class="test"></div>
<div id="test_04" class="test"></div>
<div id="test_05" class="test"></div>
<div id="test_06" class="test"></div>
</div>

2. css

<style>.test{
margin:10px 0px;
background-color:#7DBB00;
height:150px;
border:1px #ccc solid;
-moz-border-radius: 5px;
-khtml-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 10px;
opacity:0.8;

}</style>

3. js

<script>$('.test').hover(function(){
$(this).animate({
width: 920,
height: 170,
marginLeft: -20,
opacity:0.8
}, 100 ).animate({
width: 910,
height: 160,
marginLeft: -10,
opacity:0.9
}, 100 ).animate({
width: 920,
height: 170,
marginLeft: -20,
opacity:1
}, 100 )
},function(){
$(this).stop(true).animate({
width: 900,
height: 150,
marginLeft: 0,
opacity:0.8
}, 100 );
});</script>

最新文章

  1. leetcode 111 minimum depth of binary tree
  2. Effeckt.css – CSS3 Transitions &amp; Animations 精妙应用
  3. Activiti 学习笔记记录
  4. windows 我的电脑右键 无法打开管理窗口
  5. org.apache.cxf.interceptor.Fault: No such operation
  6. 编译php5.6
  7. 企业移动互联网O2O微信支付流程图
  8. 仿新浪微博短网址PHP实现方案
  9. HTTP协议详解(四)
  10. Java提高班(一)Thread详解
  11. python(leetcode)-重复元素算法题
  12. Codeforces997D Cycles in product 【FFT】【树形DP】
  13. 20155216 Exp2 后门原理与实践
  14. the cause of StringBuild class
  15. PSO算法的改进(参数)
  16. 实践lnmpde 的安装
  17. Day22-Django之信号
  18. 关于ROS的MANGLE和ip route-rules-lookup的关系和区别
  19. [PY3]——Python的函数
  20. 【转载】Vue 2.x 实战之后台管理系统开发(二)

热门文章

  1. Linux系统下tomcat安装配置
  2. 性能分析工具gprof介绍(转载)
  3. Quartz学习记录
  4. c# 调用声音文件
  5. K-均值聚类(K-means)算法
  6. HTML实例 - 购物商场页面
  7. iis启动&amp;nbsp;服务无法在此时接受控制信息。&amp;nbsp;(异常来自&amp;nbsp;HRESULT:0x80070425)
  8. python 操作 mysql 数据库 datetime 属性字段为 0000-00-00 00:00:00 的问题
  9. mono安装
  10. python16_day35【算法】