2016/03/16 codes

<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>导航条2</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
list-style: none;
}
#nav{
width: 1000px;
margin:10px auto;
text-align: center;
/*border: 1px black solid;*/
position: relative;
}
#nav ul li{
float: left;
/*display: inline-block;*/
width: 116px;
height: 116px;
/*border: 1px black solid;*/
margin: 0 20px 80px 20px;
cursor: pointer;
position: relative;
border-radius: 50%;
transition:all 0.4s;
-webkit-transition:all 0.4s;
}
#nav ul li p{
width: 100%;
position: absolute;
left: 0;
top:126px;
font-size: 16px;
color: #414141;
display: block;
font-weight: bold;
}
#nav ul li div{
width: 102px;
height: 102px;
background: #414141 url("aaa.png");
left: 7px;
top:7px;
transition:all 0.4s;
-webkit-transition:all 0.4s;
position: absolute;
border-radius: 50%;
}
#nav ul li .n1{

}
#nav ul li .n2{
background-position: -102px 0px;
}
#nav ul li .n3{
background-position: -204px 0px;
}
#nav ul li .n4{
background-position: -306px 0px;
}
#nav ul li .n5{
background-position: -408px 0px;
}
#nav ul li .n6{
background-position: -510px 0px;
}

#nav ul li a {
width: 100%;
height: 100%;
display: inline-block;
}
#nav ul li:hover{
background: rgba(0,0,0,0.5);
}
#nav ul li:hover div{
transform:rotate(360deg);
background-color: #0ff;
}
</style>
</head>
<body>
<nav id = "nav">
<ul>
<li>
<div class="n1">
<a href="#"></a>
</div>
<p>网站建设</p>
</li>
<li>
<div class="n2">
<a href="#"></a>
</div>
<p>网站设计</p>
</li>
<li>
<div class="n3">
<a href="#"></a>
</div>
<p>SEO优化</p>
</li>
<li>
<div class="n4">
<a href="#"></a>
</div>
<p>WAP/APP</p>
</li>
<li>
<div class="n5">
<a href="#"></a>
</div>
<p>网站营销</p>
</li>
<li>
<div class="n6">
<a href="#"></a>
</div>
<p>网站策划</p>
</li>
</ul>
</nav>
</body>
</html>

时间: 2024-12-15 07:00:29

2016/03/16 codes的相关文章

2016/02/16 codes

<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title>2016/02/16 codes</title> <link rel="stylesheet" href="assets/reset.css"> <style> .slideOne{ width:

2016/03/07 codes

Features.prototype = { set_referenceFace:function(value){ this._referenceFace = value; this._m_id._key = (this._m_id._key & 0xffffff00) | (this._referenceFace & 0x000000ff) }, get_referenceFace:function(){return this._referenceFace;},_referenceFac

2016/03/06 codes

var vertIndex = normalIndex; var vertIndex2 = vertIndex + 1 < poly.m_vertexCount ? vertIndex + 1 : 0; var eX = poly.m_vertices[vertIndex2].x - p.m_vertices[vertIndex1].x; var eY = poly.m_vertices[vertIndex2].y - p.m_vertices[vertIndex1].y; var length

2016/03/01 codes

if(deltaUpper > 0){ index = upperIndex; while(index < boundCount - 1 && bounds[index + 1].value <= upperValue){ bound = bounds[index]; nextBound = bounds[index + 1]; nextProxyId = nextBound.proxyId; nextProxy = this.m_proxyPool[nextProxyI

CSS3弹性盒模型flex box快速入门 2016.03.16

@import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(http://i.cnblogs.com/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css); @import url(htt

2016/03/05 codes

var tMat = poly1.m_R; normal1X = tMat.col1.x * tX + tMat.col2.x * normal1Y; normal1Y = tMat.col1.y * tX + tMat.col2.x * normal1Y; var normalLocal2X = normal1X; var normalLocal2Y = normal1Y; tMat = poly2.m_R; tX = normalLocal2X * tMat.col1.x + normalL

mysql练习题-2016.12.16

>>>>>>>>>> 练习时间:2016.12.16 编辑时间:2016-12-20-->22:12:08 题: 涉及:多表查询.exists.count().group by.order by 1.1 关系模式 学生student:   SNO:学号:   SNAME:姓名:   AGE:年龄 :   SEX:性别 课程course:CNO:课程代码,CNAME:课程名称,TEACHER:教师 学生成绩SC:SNO:学号,CNO:课程代码

【2016.3.16】作业 VS2015安装&单元测试(1)

首先说下本机配置. CPU:Intel Atom x5-z8300 @1.44GHz 内存:2GB 操作系统:Windows10 家庭版 32位 硬盘:32GB 然后开始怒装visual studio 2015 专业版. 首先会看到一个.iso文件的镜像,在Windows10 下可以直接用资源管理器打开. 打开后运行vs_professional. 然后出现下图界面 等了10分钟 安装位置建议不变,安装类型要选择自定义,如果选择默认,只安装了C#/VB Web,使用win32控制台要重新下载插件

2016/02/21 codes

var Class = { create:function(){ var parent = null,properties = $A(arguments); if(Object.isFunction(properties[0])) parent = properties.shift(); function kclass(){ this.initialize.apply(this.arguments); } Object.extend(kclass,Class.Methods); kclass.s