- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS min-height
The min-height property is used to set the minimum height that a box can be. The value of the min-height property can be a number, a length, or a percentage.
Example
<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>
- Related Articles
- Perform Animation on CSS min-height
- The min-height Property in CSS
- Set min-height and max-height of an element using CSS
- CSS min-width property
- Perform Animation on CSS min-width
- The min-width Property in CSS
- CSS height property
- CSS line-height property
- CSS max-height property
- Animate CSS height property
- Setting Line Height using CSS
- Setting Line Height in CSS
- Usage of height property with CSS
- Perform Animation on CSS max-height
- The max-height Property in CSS

Advertisements