section{

width: 500px;

height: 300px;

border-bottom: 10px solid black;

position: relative;

margin: 100px auto;

}

div{

width: 30px;

height: 250px;

text-align: center;

left: 235px;

bottom: 15px;

position:absolute;

    transition: 1s;
transform-origin: bottom;
}
div:nth-child(7){
background-color:black;
}
section:hover div:nth-child(1){
transform:rotate(90deg);
background: #66ccff;
}
section:hover div:nth-child(1){
transform:rotate(75deg);
background: #4e7386;
}
section:hover div:nth-child(2){
transform:rotate(60deg);
background: #20739c;
}
section:hover div:nth-child(3){
transform:rotate(45deg);
background: #344b1b;
}
section:hover div:nth-child(4){
transform:rotate(30deg);
background: #cc74a0;
}
section:hover div:nth-child(5){
transform:rotate(15deg);
background: #b1c760;
}
section:hover div:nth-child(6){
transform:rotate(-15deg);
background: #9bacb4;
}
section:hover div:nth-child(8){
transform:rotate(-30deg);
background: #63147a;
}
section:hover div:nth-child(9){
transform:rotate(-45deg);
background: #a31953;
}
section:hover div:nth-child(10){
transform:rotate(-60deg);
background: #10b4e6;
}
section:hover div:nth-child(11){
transform:rotate(-75deg);
background: #28b42f;
}
section:hover div:nth-child(12){
transform:rotate(-90deg);
background: #962655;
}
section:hover div:nth-child(13){
transform:rotate(90deg);
background: #8b7807;
}
section:hover div:nth-child(7){
background: #66ccff;
}

最新文章

  1. HTML Select 标签选择后触发jQuery事件代码实例
  2. 第二十七篇:SOUI中控件属性查询方法
  3. mac安装paramiko
  4. mysql5.6.23免安装配置
  5. Android: 解决ADB server didn't ACK
  6. thinkphp 模板调用数据
  7. JSP-01-搭建Web应用环境
  8. CentOS FireFox Flash Player
  9. 《算法导论》习题解答 Chapter 22.1-4(去除重边)
  10. 找工作笔试面试那些事儿(10)---SQL语句总结
  11. C#编码好习惯,献给所有热爱c#的同学
  12. C语言文件 "w+"与"wb+"区别
  13. webpack4打包nodejs项目进阶版——多页应用模板
  14. 2018-2019-2 20165212《网络对抗技术》Exp2 后门原理与实践
  15. PHP eval函数
  16. SegmentedControl的使用
  17. sublime 下面开发
  18. Golang学习系列:(一)介绍和安装
  19. 开发Web版一对一远程直播教室只需30分钟 - 使用face2face网络教室
  20. 领扣-两数之和-Python实现

热门文章

  1. _blocking_errnos = {errno.EAGAIN, errno.EWOULDBLOCK} pip
  2. 绿色地狱 - 纽博格林赛道详解 | Nürburgring
  3. 浏览器渲染基本原理(二):JS引擎的工作方式
  4. openresty开发系列33--openresty执行流程之3重写rewrite和重定向
  5. 简单的 js 模版引擎
  6. [LeetCode] 138. Copy List with Random Pointer 拷贝带随机指针的链表
  7. springboot-把web项目打成war包部署到外部tomcat
  8. python zip函数(11)
  9. 用vue实现列表分页和按钮操作
  10. [转帖]Linux教程(14)- Linux中的查找和替换