border-radius:
时间: 2023-08-31 09:12:37 浏览: 93
Border-Radius
border-radius是一个CSS属性,用于设置元素的边框的圆角半径。它可以通过指定一个值来设置所有四个角的圆角半径,也可以通过指定四个值来分别设置每个角的圆角半径。\[1\]border-radius属性实际上是border-top-left-radius、border-top-right-radius、border-bottom-right-radius和border-bottom-left-radius四个属性的简写形式。\[3\]例如,border-radius: 30px;表示所有四个角的圆角半径都是30像素。\[2\]如果想要分别设置每个角的圆角半径,可以使用border-top-left-radius、border-top-right-radius、border-bottom-right-radius和border-bottom-left-radius这四个属性。
#### 引用[.reference_title]
- *1* [CSS3圆角详解](https://blog.csdn.net/weixin_42659625/article/details/81085841)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [border-radius(CSS3属性)](https://blog.csdn.net/qq_43812504/article/details/110850778)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [CSS3 border-radius 属性](https://blog.csdn.net/qq_38436939/article/details/83830427)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文