Hello,

How to create circle with css? Any idea how to create circle with css?

I create html file with numbers 1 - 5. And I would like to draw green circle around each number with css. How to do so?

Thanks in advance.

You can do it using border-radius (here's an example) but it's not guaranteed to always be circular. If you change the 1 to 100,000 you'll see what I mean.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.