1 Star 0 Fork 0

tgy100/css_practice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fuzahuadongmeng.html 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
tgy100 提交于 2017-12-18 16:04 +08:00 . 滑动门
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>复杂滑动门</title>
<style type="text/css">
body,ul,li{
margin: 0px;
padding: 0px;
}
ul,li{
list-style: none;
}
.nav{
height: 74px;
background:url("move_imags/weixin_bg1d20af.jpg");
}
.nav .container{
width: 780px;
margin: 0px auto;
height: 74px;
}
.nav .container li{
float: left;
height: 74px;
margin-right: 15px;
}
.nav .container li a{
display: inline-block;
text-decoration: none;
color: #ffffff;
font-size: 18px;
line-height: 33px;
height: 33px;
margin-top: 20px;
padding-left: 15px;
background: url("move_imags/bg.png") no-repeat 0px -192px;
}
.nav .container li a span{
display: inline-block;
padding-right: 15px;
height: 33px;
background: url("move_imags/bg.png") no-repeat right -192px;
}
.nav .container li a:hover{
color: green;
}
</style>
</head>
<body>
<div class="nav">
<div class="container">
<ul>
<li><a href="#"><span>首页</span></a></li>
<li><a href="#"><span>下载吧</span></a></li>
<li><a href="#"><span>公共平台</span></a></li>
</ul>
</div>
</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

搜索帮助