<! DOCTYPE html>
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title> Pure CSS to make triangles and small dots </title>
<style>
. Arrowbox{width:40px;height:30px;background: #000;p adding:10px;position:relative;text-align:center;margin:20px; Color: #fff; line-height:30px;font-size:12px;}
. Arrowbox span{display:inline-block;overflow:hidden;vertical-align:middle;position:absolute;top:22px;right:5px; line-height:12px;font-size:12px;}
. Arrowbox span em{display:block;font-family: "SimSun"; font-style:normal;font-weight:normal;}
. Arrowbox span.size1{width:7px;height:4px;}
. Arrowbox span.w_e{width:4px;height:7px;}
. Arrowbox span.size2{width:14px;height:8px;}
. Arrowbox span Em.north{color: #fff; margin:-7px 0 0-2px;}
. Arrowbox span Em.south{color: #fff; margin:0 0 0-2px;}
. Arrowbox span.w_e Em.east{color:blue;margin: -2px 0 0-7px;}
. Arrowbox span.w_e em.west{color:yellow;margin:-2px 0 0 0;}
. Arrowbox span.size2 em.south{margin:-5px 0 0 0}
. Arrowbox span.size2 em.north{margin:2px 0 0 0}
. round{width:16px;height:16px;display:inline-block;font-size:20px;line-heigth:16px;text-align:center;color:# F00;text-decoration:none}
. Round:hover{color:blue;text-decoration:none}
</style>
<body>
<div>http://www.999jiujiu.com/</div>
<div class= "Arrowbox" > Home <span class= "size1" ><em class= "North" > </em></span></div >
<div class= "Arrowbox" > Home <span class= "size1" ><em class= "South" > </em></span></div >
<div class= "Arrowbox" > Home <span class= "w_e" ><em class= "East" > </em></span></div >
<div class= "Arrowbox" > Home <span class= "w_e" ><em class= "West" > </em></span></div >
<div class= "Arrowbox" > Home <span class= "size2" ><em class= "South" > </em></span></div >
<div class= "Arrowbox" > Home <span class= "size2" ><em class= "North" > </em></span></div >
<p> controlling the size of dots with font-size </p>
<a href= "#" class= "Round" > </a>
</body>
Pure CSS for small dots and triangular patterns