<div class="ball n1"></div>
<div class="ball n1"></div>
<div class="ball n2"></div>
<div class="ball n3"></div>
<div class="ball n4"></div>
<div class="ball n5"></div>
<div class="ball n6"></div>
<div class="ball n7"></div>
<div class="ball n8"></div>
<div class="ball n9"></div>
<div class="ball n10"></div>
body {
body {
background: #ABAB99;
}
.ball {
border-radius: 50%;
border: 1px solid white;
display: inline-block;
position: absolute;
width: 55px;
height: 55px;
box-shadow: 1px 1px 5px #000, 1px 1px 3px #666 inset;
}
.ball:after {
content: '';
width: 25px;
height: 25px;
margin: auto;
position: absolute;
top: 0; left: 0; bottom: 0; right: 0;
text-align: center;
line-height: 25px;
background: rgba(255, 255, 255, .5);
border-radius: 50%;
box-shadow: 0px 0px 5px white;
color: white;
text-shadow: 1px 1px 5px #333;
}
.n1 {
background: #ab3243;
top: 20%;
left: 20%;
}
.n1:after { content: '1'; }
.n2 {
background: #6B2069;
top: 25%;
left: 50%;
}
.n2:after { content: '2'; }
.n3 {
background: #abbc38;
top: 10%;
left: 75%;
}
.n3:after { content: '3'; }
.n4 {
background: #83BC83;
top: 35%;
left: 5%;
}
.n4:after { content: '4'; }
.n5 {
background: #3883BC;
top: 45%;
left: 40%;
}
.n5:after { content: '5'; }
.n6 {
background: #43ab43;
top: 30%;
left: 80%;
}
.n6:after { content: '6'; }
.n7 {
background: #43abab;
top: 60%;
left: 70%;
}
.n7:after { content: '7'; }
.n8 {
background: #abab43;
top: 70%;
left: 10%;
}
.n8:after { content: '8'; }
.n9 {
background: #ab32ab;
top: 80%;
left: 40%;
}
.n9:after { content: '9'; }
.n10 {
background: #3243ab;
top: 1%;
left: 25%;
}
.n10:after { content: '10'; }