Content in a paragraph : height: 50px / max-height: 20px
Content in a paragraph : height: 100% / max-height: 8em
Content in a paragraph : height: 100% / max-height: 50%
Example#1 : Containing element : height: 100px. Content in a paragraph : max-height: 20%
Example#2 : Containing element : height: 100%. Content in a paragraph : max-height: auto
height: 100px; max-height: 800px;
| Height | Chrome | Safari | Firefox | Opera | IE | Android | iOS |
|---|---|---|---|---|---|---|---|
| 100px | All | All | All | All | All | All | All |
height: 100%; max-height: 100px;
| Height | Chrome | Safari | Firefox | Opera | IE | Android | iOS |
|---|---|---|---|---|---|---|---|
| 100% | All | All | All | All | All | All | All |