JSFiddle - React, Tailwind, and code Playground
HTML
<html lang='en'>
<head>
<meta charset='utf-8' />
<link href='css/1140.css' media='screen' rel='stylesheet' type='text/css' />
<link href='css/styles.css' media='screen' rel='stylesheet' type='text/css' />
<link href='css/thing.css' media='screen' rel='stylesheet' type='text/css' />
<link href='css/screen.css' media='screen, projection' rel='stylesheet' type='text/css' />
<link href='css/print.css' media='print' rel='stylesheet' type='text/css' />
<!-- / [if IE] -->
<!-- / <link href="/css/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> -->
<!-- / [endif] -->
<script src='js/css3-mediaqueries.js' type='text/javascript'></script>
<script src='js/jquery-1.6.3.js' type='text/javascript'></script>
<script type='text/javascript'>
$(document).ready(function() {
$(".left-col").click(function() {
console.log("right-col clicked");
$(".left-col").toggleClass("closed");
});
});
</script>
</head>
<body>
<div class='container'>
<div class='header'>Header</div>
<div class='main-content'>
<div class='left-col debug'>Left Panel</div>
<div class='right-col debug'>Right Panel</div>
</div>
</div>
<div class='footer'>Footer</div>
</body>
</html>
CSS
/* line 10, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss */
html, body {
height: 100%;
margin: 0;
padding: 0;
}
/* line 12, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss */
#container {
clear: both;
min-height: 100%;
height: auto !important;
height: 100%;
margin-bottom: -150px;
}
/* line 18, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss */
#container #left-col {
height: 150px;
}
/* line 20, ../../../../.rvm/gems/ruby-1.9.2-p290/gems/compass-0.11.5/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss */
#footer {
clear: both;
position: relative;
height: 150px;
}
/* line 12, ../sass/thing.sass */
html, body {
min-height: 400px;
min-width: 800px;
height: 100%;
}
/* line 17, ../sass/thing.sass */
.header {
background: #999999;
height: 50px;
box-shadow: 0 4px 6px #554433;
}
/* line 22, ../sass/thing.sass */
.footer {
background: #ffdddd;
clear: both;
z-index: 10;
height: 150px;
}
/* line 28, ../sass/thing.sass */
.container {
padding: 0px;
width: 100%;
min-height: 100%;
margin: 0 auto -150px;
}
/* line 34, ../sass/thing.sass */
.main-content {
display: -moz-box;
display: -webkit-box;
display: -ms-box;
display: box;
-moz-box-orient: horizontal;
-webkit-box-orient: horizontal;
-ms-box-orient: horizontal;
box-orient: horizontal;
position: absolute;
bottom: 150px;
top: 50px;
left: 0;
right: 0;
width: 100%;
}
/* line 38, ../sass/thing.sass */
.left-col {
width: 250px;
-moz-box-flex: 1;
-webkit-box-flex: 1;
-ms-box-flex: 1;
box-flex: 1;
-moz-transition-property: width;
-webkit-transition-property: width;
-o-transition-property: width;
transition-property: width;
-moz-transition-duration: 500ms;
-webkit-transition-duration:...