"CSS min-height"的中文翻译是"CSS 最小高度"

王林
王林 转载
2023-09-07 13:37:02 911浏览

\

min-height属性用于设置一个盒子的最小高度。min-height属性的值可以是一个数字、一个长度或一个百分比。

<html> <head> </head> <body> <p style = "width:400px; min-height:150px; border:1px solid blue; padding:5px; margin:10px;"> This paragraph is 400px wide and min height is 150px This paragraph is 400px wide and min height is 150px This paragraph is 400px wide and min height is 150px This paragraph is 400px wide and min height is 150px </p> <img alt = "logo" src = "/css/images/logo.png" width = "100" height = "100" /> </body> </html>

以上就是"CSS min-height"的中文翻译是"CSS 最小高度"的详细内容,更多请关注php中文网其它相关文章!

声明:本文转载于:tutorialspoint,如有侵犯,请联系admin@php.cn删除