为什么80%的码农都做不了架构师?>>> \n \n ...
<a style="color:#A00;font-weight:bold;" href="https://my.oschina.net/u/2663968/blog/3051541">为什么80%的码农都做不了架构师?>>> </a>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
.box{
width: 300px;
height: 300px;
background-color: #eee;
border: 1px solid #000;
position: relative;
left: 40%;
top: 0;
}
.zhengfang{
width: 100px;
height: 100px;
background-color: red;
position: absolute;
left: 100px;
top: 125px;
transform: rotate(45deg);
z-index: 100;
}
.yuan1{
width: 100px;
height: 100px;
border-radius: 50%;
position: absolute;
left: 62px;
top: 87px;
background-color: red;
}
.yuan2{
width: 100px;
height: 100px;
border-radius: 50%;
position: absolute;
left: 138px;
top: 87px;
background-color: red;
}
.dong{-webkit-animation:xin 1s ease 0s infinite alternate;}
@-webkit-keyframes xin{
from{
width: 100px;
height: 100px;
box-shadow: 20px 20px 30px 5px yellow;
}
to{
width: 125px;
height: 125px;
box-shadow: 20px 20px 40px 5px #FFBBFF;
}
}
</style>
</head>
<body>
<a href="" class="yige"></a>
<div class="box">
<div class="yuan1"></div>
<div class="yuan2"></div>
<div class="zhengfang"></div>
</div>
</body>
</html>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
<script type="text/javascript">
$('.box').mouseover(function(){
$('.yuan1,.yuan2,.zhengfang').addClass("dong")
});
$('.box').mouseout(function(){
$('.yuan1,.yuan2,.zhengfang').removeClass("dong")
})
</script>
<ins class="adsbygoogle"></ins>
转载于:https://my.oschina.net/ndweb/blog/674519
本站主要用于,日常笔记的记录,和生活日志。本站不保证所有内容信息可靠!(大多数文章属于搬运!)如有版权问题!请联系我立即删除“abcdsjx@126.com”
QQ: 1164453243
邮箱: abcdsjx@126.com