题解 | #按要求写一个圆#
按要求写一个圆
https://www.nowcoder.com/practice/374271f80d94439dacdaa1415d020845
{"html":"<!DOCTYPE html>\n<html>\n\n<head>\n <meta charset=\"UTF-8\">\n <style>\n /* 填写样式 */\n div{\n \n width:100px;\n height:100px;\n border-radius:50px;\n border:1px solid black;\n }\n </style>\n</head>\n\n<body>\n <div></div> \n <script type=\"text/javascript\">\n /* 填写JavaScript */\n \n </script>\n</body>\n\n</html>","css":"","js":""}
div{
width:100px;
height:100px;//会形成一个正方形
border:1px solid #000;//设置边框
border-radius:50px;//将正方形设置为圆
}