Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> #circle { background: #cfcfcf; width: 128px; height: 128px; border-radius: 64px; border: 2px solid #000; } #circle div { position: relative; left: 19px; top: 19px; width: 90px; height: 90px; color: #000; text-align: center; } </style> </head> <body> <div id="circle"> <div>Example of a circular div</div> </div> </body> </html>