上海网站建设用CSS编写导航箭头
在进入网站的中导航有些是与众不同的,就是有箭头的标示,我们直接点击就可以进入网站的主要内容。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
.wrap { width:200px; height:50px; position:relative; margin-top:50px; background:#080;}
.arrow { width:0; height:0; position:absolute; left:50%; margin-left:-17px; top:-32px; font-size:0; border-width:16px; border-color:transparent transparent #080; border-style:dashed dashed solid; }
</style>
</head>
<body>
<div class="wrap"><div class="arrow"></div></div>
</body>
</html>
本文章由新概念互动原创,如没特殊注明,转载请注明来自:http://www.jianzhan0.com/dongtai/23343.html