max,min -height set for resization | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

max,min -height set for resization

suppose there is a min-height of 100px so if the paragraph length increase than that will it increase its height?

27th Jun 2016, 7:43 AM
Shubham Raja Shrivastava
Shubham Raja Shrivastava - avatar
2 Answers
+ 1
min-height of an object set the inital height. if the object is 20px height the output will be 100px, if the object is 120px it will grow 20px, if u put max-height 100px the object never will be more than 100px
27th Jun 2016, 9:29 PM
Matheus Prado
Matheus Prado - avatar
0
suppose your div min height is 100px and this div contain details of any product and the detail is fill by the user and some user fill data more than the div size in that case min height works it auto increment as per our requirement
29th Jun 2016, 3:46 AM
sunil vishwakarma
sunil vishwakarma - avatar