title: Easiest way to dynamically change CSS min-height values?
body: <p>I am sure what I need is possible but I hope somebody got any advice on what is the best way to achieve it.</p>
  
  <p>I have a div, that will contain text. I want the min-height of the div set to 250px - so that the initial div height is set.</p>
  
  <p>My question is:</p>
  
  <p>If the currently set <code>min-height: 250px;</code> gets exceeded by its content, can I apply a new min-height value of 500px as soon as the 250px is passed (e.g if div is forced to a 252px height it automatically sets <code>min-height: 500px;</code>)?</p>