JSFiddle - React, Tailwind, and code Playground

by adamschwartz

HTML

<div id="wrapper">
    <section>
        <h1>Adam Schwartz</h1>
        <p>Software developer by day, composer by night</p>
    </section>
    <section>
        <h2>Recent Films</h2>
        <p>May &#8216;12 &mdash; <a href="http://vimeo.com/42514330">Quitting</a></p>
        <p>Nov &#8216;11 &mdash; <a href="http://vimeo.com/37564163">Linkable Networks</a></p>
        <p>Sept &#8216;11 &mdash; <a href="http://vimeo.com/31053653,">Matureness</a></p>
        <p>Aug &#8216;11 &mdash; <a href="http://vimeo.com/26557479">Killer</a></p>
        <p>May &#8216;11 &mdash; <a href="http://vimeo.com/23501504">Rook</a></p>
    </section>
    <section>
        <h2>Software</h2>
        <p><img src="foobar"/></p>
    </section>
    <div id="clear-footer"></div>
    <footer>
        <p>Made with ❤</p>
    </footer>
</div>

CSS

* {
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}
@media only screen and (max-device-width: 960px) {  
    html { 
        -webkit-text-size-adjust: none; 
    }
}
html, body {
    font-family: HelveticaNeue-Light, HelveticaNeue, Helvetica, Arial, sans-serif;
    color: #444;
    height: 100%;
    font-size: 16px;
    background: #eee;
}
#wrapper {
    min-height: 100%;
    position: relative;
    max-width: 480px;
    margin: 0px auto;
    background: #fff;
}
#clear-footer {
    height: 50px;
    clear: both;
}
section {
    padding: 10px 20px 0px 20px;
}
footer {
    padding: 10px 20px 0px 20px;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #eee;
    text-align: center;
}
h1 {
    font-size: 24px;
}
h2 {
    font-size: 20px;
}
h1, h2, p {
    margin: 5px 0px;
}
footer p {
    color: #aaa;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<style>

JavaScript

window.addEventListener("load",function() {
  // Set a timeout...
  setTimeout(function(){
    // Hide the address bar!
    window.scrollTo(0, 1);
  }, 0);
});