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其它相关文章!






