odontograma
HTML
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
<div class="diente"><!--diente 1-->
<div class="cuadro arriba click">
</div>
<div class="cuadro izquierdo click">
</div>
<div class="cuadro debajo click">
</div>
<div class="cuadro derecha click">
</div>
<div class="cuadro centro click">
</div>
</div>
CSS
.diente{
position: relative;
width: 0px;
height: auto;
display: inline-block;
}
.cuadro{
border: 1px solid #000;
background-color: #EEE;
position: relative;
width: 20px;
height: 20px;
left: 40px;
-webkit-border-radius: 80px 80px 0px 15px;
-moz-border-radius: 80px 80px 0px 15px;
border-radius: 80px 0px 0px 0px;
}
.cuadro:hover{
background:#AAC;
cursor: pointer;
}
.arriba{
top: 2px !important;
left: 4px !important;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(45deg);
}
.izquierdo{
top: -2px !important;
left: 28px !important;
-webkit-transform: rotate(280deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(315deg);
}
.debajo{
top: -9px !important;
left: 43px !important;
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(225deg);
}
.derecha{
top: -46px !important;
left: 57px !important;
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(135deg);
}
.centro{
border-radius: 3px;
width: 17px;
height: 17px;
top:-66px;
left: 44px;
position: relative;
}