<div class="container">
  <div class="element element-1">
    I have a minimum height of 250px. Even if my <code>height</code> is set to less than 250px, it will not have any effect since it will be overridden by the <code>min-height</code> value.
    <div class="child">
      I have the same minimum height as my parent.
  <div class="element element-2">
    I will always have a minimum height which is equal to 3em.
body {
  background-color: #F5F5F5;
  color: #555;
  font-size: 1.1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;

.container {
  margin: 40px auto;
  max-width: 700px;

.element {
  padding: 20px;
  background-color: #0099cc;
  color: white;
  margin-bottom: 150px;

.element-1 {
  height: 200px;
  min-height: 250px;

.child {
  background-color: salmon;
  padding: 30px;
  margin: 20px;
  min-height: inherit;

.element-2 {
  min-height: 3em;