padding-bottom 指定元素的底部填充。它設置元素的底部填充(空間)。這可以采用長度為 % 的值。
示例
<html>
<head>
</head>
<body>
<p style = "padding-bottom: 20px; border:1px solid red;">
This is demo content.
</p>
<p style = "padding-bottom: 20%; border:1px solid red;">
This is another demo content.
</p>
</body>
</html>
登錄后復制
以上就是使用 CSS 指定元素的底部填充的詳細內容,更多請關注www.92cms.cn其它相關文章!






