网站建设用CSS编著导航箭头
日期:2020-09-10  发布人:amdfae  浏览量:7706 下拉框

在步入网站的中导航有点是别树一帜的,就是有箭头的标明,我们直接点击就可以步入网站的主要内容。<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://{标签_主域名}/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://{标签_主域名}/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>