1 Star 0 Fork 0

tgy100/css_practice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mive_door01.html 1.85 KB
一键复制 编辑 原始数据 按行查看 历史
tgy100 提交于 2017-12-18 16:04 . 滑动门
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style type="text/css">
.clearfix:after{
content:"";
height:0;
line-height:0;
display:block;
visibility:hidden;
clear:both;
}
.clearfix{
zoom:1;
}
.one,.two,.three{
float: left;
}
.one{
width: 10px;
height: 100px;
background: url("move_imags/l.png") no-repeat;
}
.two{
height: 100px;
background: url("move_imags/m.png");
}
.three{
width: 10px;
height: 100px;
background: url("move_imags/r.png") no-repeat right;
}
.down{
margin-top: 10px;
}
.down a{
text-decoration: none;
display: inline-block;
height: 35px;
background: url("move_imags/blue_r1_c1.png") no-repeat;
line-height: 35px;
padding-left: 7px;
font-size: 14px;
color: #ffffff;
}
.down a span{
display: inline-block;
height: 35px;
background: url("move_imags/blue_r1_c2.png") no-repeat right;
padding-right: 20px;
}
.down a:active{
background: url("move_imags/bg_r1_c1.png") no-repeat;
}
.down a span:active{
background: url("move_imags/bg_r1_c2.png") no-repeat right;
}
</style>
</head>
<body>
<div class="clearfix">
<div class="one"></div>
<div class="two">sdfsdfsdfsdfsdfsdfsdf</div>
<div class="three"></div>
</div>
<div class="down">
<a href="#">
<span>阿斯达阿斯达阿斯达</span>
</a>
</div>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
CSS
1
https://gitee.com/tgy100/css_practice.git
[email protected]:tgy100/css_practice.git
tgy100
css_practice
css_practice
master

搜索帮助