CSS: small dots and triangles
<! DOCTYPE html>
<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/>
<Title> Create triangles and dots with pure CSS </title>
<Style>
. Arrowbox {width: 40px; height: 30px; background: #000; padding: 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>
</Head>
<Body>
<Div> http://www.999jiujiu.com/</div>
<Div class = "arrowbox"> homepage <span class = "size1"> <em class = "north"> ◆ </em> </span> </div>
<Div class = "arrowbox"> homepage <span class = "size1"> <em class = "south"> ◆ </em> </span> </div>
<Div class = "arrowbox"> homepage <span class = "w_e"> <em class = "east"> ◆ </em> </span> </div>
<Div class = "arrowbox"> homepage <span class = "w_e"> <em class = "west"> ◆ </em> </span> </div>
<Div class = "arrowbox"> homepage <span class = "size2"> <em class = "south"> ◆ </em> </span> </div>
<Div class = "arrowbox"> homepage <span class = "size2"> <em class = "north"> ◆ </em> </span> </div>
<P> Use font-size to control the dot size </p>
<A href = "#" class = "round"> ● </a>
</Body>
</Html>