min-h,

PHOTO EMBED

Fri Jul 22 2022 13:07:36 GMT+0000 (UTC)

Saved by @usman_zafar #css #html

<body>
<h1>The min-height Property</h1>

<h2>min-height: none (default):</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit...</p>

<h2>min-height: 200px:</h2>
<p class="ex1">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam semper diam at erat pulvinar, at pulvinar felis blandit...</p>

</body>


<style>
p {
  background-color: yellow;  
}

p.ex1 {
  min-height: 100px;
}
</style>
content_copyCOPY