min-height

min-height

CSS min-height Property
The CSS min-height property is used to specify the minumum height an element should be. Use with max-height to create a height range for the element.
CSS CODE EXAMPLE
<!DOCTYPE html>
<style type="text/css">
#myDiv {
    min-height: 90px;   
    max-height: 200px;
    background: #FFCAFF;
}
</style>
<div id="myDiv">
<p>paragraph content ...</p>
</div>
 
paragraph content ...

Possible Values:

number
Example: "200px"

percentage
Example: "25%"

none
Example: "none"

0 Response to "min-height"

Post a Comment