运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,深色/浅色
前往 Spaces
<!DOCTYPE html> <html> <head> <style> #example1 { border: 2px solid red; padding: 10px; border-radius: 25px; } #example2 { border: 2px solid red; padding: 10px; border-radius: 50px 20px; } </style> </head> <body> <h2>border-radius: 25px:</h2> <div id="example1"> <p>The border-radius property defines the radius of the element's corners.</p> </div> <h2>border-radius: 50px 20px:</h2> <div id="example2"> <p>If two values are set; the first one is for the top-left and bottom-right corner, the second one for the top-right and bottom-left corner.</p> </div> </body> </html>