+ 1
how can i make diameters in circles and also write text in everyparts of circle?
5 Respuestas
+ 1
you can use these lines : css :
.circle {
width:100px;
height:100px;
border-radius:50%;
background-color:#450034;
}
.half-box{
width:100px;
height:50px;
}
#top {
border-bottom:1px solid #780068;
}
#bottom{
border-top:1px solid #780068;
}
.half-box>p{
font:normal 12px tahoma;
color:#fff;
margin-top:15px;
margin-left:35px;
}
/*html : */
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div class="circle">
<div class="half-box" id="top">
<p>text1</p>
</div>
<div class="half-box" id="bottom">
<p>text2</p>
</div>
</div>
</body>
</html>
+ 1
you're welcome saurav , I just saw your another Q about circle and rotation
0
thx nima..
0
yes, can u help me with that ?
0
Thanks a lot been finding it hard to create circle