Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> p { background-color: #ccc; } p.example { min-height: 3cm; } </style> </head> <body> <h2>Min-height property example</h2> <h3>Min-height: auto.</h3> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p> <h3>Min-height: 3cm.</h3> <p class="example">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p> </body> </html>