Style a link to a circle with an arrow inside - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Shape

Description

Style a link to a circle with an arrow inside

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

div {<!--  w  w w .j  a  va2 s . c o m-->
   background: #4679BD;
   border-radius: 50%;
   display: block;
   height: 80px;
   width: 80px;
   -moz-border-radius: 50%;
   -webkit-border-radius: 50%;
   text-align:center;
   line-height:30px;
}
a {
   border-left: 25px solid transparent;
   border-right: 25px solid transparent;
   border-bottom: 25px solid black;
}
      </style> 
 </head> 
 <body> 
  <div> 
   <a href="#"></a> 
  </div>  
 </body>
</html>

Related Tutorials