padding-border
时间: 2023-10-16 13:10:56 浏览: 82
padding是用来设置盒子内的内容与边框之间的距离的属性。可以通过设置padding的值来调整盒子内边距的大小,可以分别设置上、下、左、右的内边距值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [CSS3基础:边框border,内边距padding,外边距margin](https://blog.csdn.net/qq_54517101/article/details/126165681)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [10.前端笔记-CSS-盒子模型-border和padding](https://blog.csdn.net/Ambition_ZM/article/details/128053564)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文