<section>
<article class="left-side">
<h1>Left Half</h1>
<p>Weekends don't count unless you spend them doing something completely pointless.</p>
</article>
<article class="right-side">
<h1>Right Half</h1>
<p>If your knees aren't green by the end of the day, you ought to seriously re-examine your life.</p>
</article>
<article class="full">
<h1>I Steal Everything</h1>
<p>I am all powerful. All shall follow me and despair!</p>
</article>
<article class="left-side">
<img alt="" src="http://placehold.it/150/150" style="float:right" title="Floated image just to prove a point" />
<h1>Left Half</h1>
<p>Weekends don't count unless you spend them doing something completely pointless.</p>
</article>
<article class="right-side">
<img alt="" src="http://placehold.it/150/150" style="float:left" title="Floated image just to prove a point" />
<h1>Right Half</h1>
<p>If your knees aren't green by the end of the day, you ought to seriously re-examine your life.</p>
</article>
</section>
html {
background: #ff9e2c;
font-size: 1.25rem;
height: 100%;
line-height: 150%;
text-shadow: 0 2px 2px #b6701e;
}
body {
background: #b6701e;
margin: 0 0 0 50%;
min-height: 100%;
}
section {
color: #fff;
display: inline-block;
text-align: center;
width: 100%;
}
article {
-webkit-box-sizing: border-box;
box-sizing: border-box;
padding: 20px;
}
.left-side {
clear: left;
float: left;
margin-left: -100%;
width: 100%;
}
.right-side {
display: inline-block;
width: 100%;
}
.full {
clear: both;
margin-left: -100%;
width: 200%;
background: #EB8;
background: rgba(255, 255, 255, 0.65);
color: #222;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.