title: Viewport height and .css()
body: <p>What I'm trying to achieve is to get the browser's viewport height and add it to several classes of my css. So far I have this:</p>
  
  <p>Get viewport height:</p>
  
  <pre><code>var width = $(window).width();
  var height = $(window).height();
  </code></pre>
  
  <p>Add to css</p>
  
  <pre><code>$('divOne').css({"height": " *viewport height* "});
  $('divTwo').css({"top": " *viewport height* "});
  $('divThree').css({"top": " *viewport height* + 200px"});
  $('divTwo').css({"top": " *viewport height* + 400px "});
  </code></pre>
  
  <p>Sample:</p>
  
  <p><img src="https://i.stack.imgur.com/vbDb3.jpg" alt="Sample"></p>
  
  <p>It would be really great if someone could provide some working piece of code here. My coding skills are very limited.</p>