Tạo hình tròn bằng CSS
RUN
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style type="text/css"> .rounded-corners{ margin: 50px; width: 200px; height: 200px; border: solid 5px blue; background: #999; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; } </style> </head> <body> <div class="rounded-corners"> </div> </body> </html>
PHÓNG TO