Ask Question or Answer
You can ask your question or answer the question you know.
How to make circle with HTML and CSS?
I want to make a circle with pure HTML and CSS, how can I do it without using any figures and shapes?
1 Answer on this Question
You can make a circle with the following CSS:
<style>
.circle{
width:200px;
height: 200px;
border:1px solid #bbb;
background:#ddd;
border-radius:100%;
}
</style>
<div class="circle">
</div>
If you make the border-radius of any element more than 50% of its width, then it will be circle or oval.
Share on Social Media