请问各位大佬,我现在是点box0,然后box01就会立刻出现
html吧
全部回复
仅看楼主
level 3
夏天t♤ 楼主
请问各位大佬,我现在是点box0,然后box01就会立刻出现,我怎么能使它缓慢的出现呢?
2020年02月20日 09点02分 1
level 3
夏天t♤ 楼主
box01是在box1里面的一个盒子
2020年02月20日 09点02分 2
level 7
加css动画就好了
2020年02月21日 12点02分 3
我还是刚学,这咋加啊[小乖]
2020年02月22日 08点02分
看看css3动画 网上看个demo就解决了
2020年02月22日 08点02分
level 7
大概写了个 自己看看
2020年02月22日 08点02分 4
level 6
我也是前端,可以一起呀
2020年02月26日 06点02分 5
楼主以自闭[呵呵]
2020年03月17日 16点03分
@夏天t♤ 好久没上贴吧,你被拯救了没有
2020年04月15日 14点04分
level 6
同前端,可以一起不
2020年02月26日 06点02分 6
level 1
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
<style>
.box0 {
width: 100px;
height: 100px;
float: left;
background-color: #00cc00;
overflow: hidden;
}
.box01 {
width: 100px;
height: 100px;
background-color: #99ff00;
float: left;
margin-left: -100px;
transition: margin-left 3s linear;
-webkit-transition: margin-left 3s linear;
}
.box0:hover .box01 {
margin-left: 0px
}
</style>
</head>
<body>
<div class="box0">
<div class="box01"></div>
</div>
</body>
</html>
2020年03月26日 09点03分 7
1