+ 2
How can we make a circle and line in css?
4 Answers
+ 37
i hope this link will help youâș
https://www.sololearn.com/Discuss/1368386/?ref=app
+ 4
There are lots of ways to accomplish this. The best answer for your situation would require you to provide more context. Otherwise, generically speaking,
The easiest way to make a line is with the <hr> tag. This is not necessarily semantic and does not appear the same way across browsers.
The easiest way to make a circle is to make a div with its length equal to its width and 50% border-radius.
You can also use canvas or svg.
I hope this helps! :)
-- Janning.
+ 2
use hr tag in html if u need in css
use this
border-bottom: 2px solid #000;
+ 1
circle-
height :100px;
width : 100px;
border-radius: 50%;