0

hey, circle, html

how can I make a circle with css with contents inside it .?

22nd Jul 2018, 7:48 AM
Shimaa
Shimaa - avatar
4 Réponses
+ 1
Try: <div style="border: 1px solid black; border-radius: 50%;"> <p>Contents</p> </div> Edit: Sorry, forgot some punctuation. Also, you can set the height & width to any measurement, so long as they are equal.
22nd Jul 2018, 7:56 AM
Janning⭐
Janning⭐ - avatar
+ 1
okay , u made the circle and i made a div inside it i tried to make this div a circle .. like a circle inside a circle ... but it didn't work .. what could be the problem .. also .. how can makr it synchronised with the browser width and height ? Louis Janning⭐
22nd Jul 2018, 8:31 AM
Shimaa
Shimaa - avatar