在 CSS 中為 body 或文字新增特別顏色的角
CSS3 圓角用於透過使用 border-radius 屬性為 body 或文字新增特殊顏色的角。
示例
<html> <head> <style> #rcorner { border-radius: 25px; background: #8AC007; padding: 20px; width: 200px; height: 150px; } </style> </head> <body> <p id="rcorner">Rounded corners!</p> </body> </html>
廣告