"box"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html lang='en' class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/tannerhodges/pen/RRJLaE?limit=all&page=48&q=media" /> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'> <style class="cp-pen-styles">.o-feature { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; } .o-feature { border: 1px solid #f0f0f0; background: #fff; } .o-feature__content { padding: 1em 1.5em; } .o-filmstrip { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; } .o-filmstrip__item { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; } .o-filmstrip { margin: 0; padding: 0; list-style: none; } .o-filmstrip__item { padding: 0.5em 1em; background: #f0f0f0; border: 1px solid #ccc; } .o-filmstrip__item:not(:last-child) { border-bottom: 0; } .o-features-block { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: nowrap; flex-wrap: nowrap; } .o-features-block__item { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; } .o-features-block { max-width: 40em; margin: 0 auto; -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23); } .o-features-block .o-feature { border-right-color: #ccc; } .o-features-block .o-filmstrip__item { border-left: 0; } .o-features-block__item:first-of-type { width: 66.6666666667%; } .o-features-block__item:last-child { width: 33.3333333333%; min-width: 10em; } @media screen and (max-width: 30em) { .o-features-block { display: block; } .o-features-block__item:first-of-type { width: 100%; } .o-features-block__item:last-child { width: 100%; } } .u-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); } html, body, .o-main-center { height: 100%; } .o-main-center { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; margin-top: -1em; padding: 1em; background-image: radial-gradient(center, ellipse farthest-corner, #fff 30%, #eee 100%); } </style></head><body> <main class="o-main-center"> <!-- Feature --> <!-- <div class="o-feature"> <div class="o-feature__item"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ducimus vero accusamus iusto quia, inventore velit eos vel nulla facere culpa possimus, voluptas aperiam ullam consequatur dolorem, modi molestiae quos.</p> </div> </div> --> <!-- Filmstrip --> <!-- <ul class="c-filmstrip"> <li class="c-filmstrip__item">#1</li> <li class="c-filmstrip__item">#2</li> <li class="c-filmstrip__item">#3</li> </ul> --> <!-- Features Block --> <section class="o-features-block"> <h2 class="u-visually-hidden"> Featured Stories </h2> <div class="o-features-block__item / o-feature"> <div class="o-feature__content"> <h3>Lorem ipsum dolor sit amet</h3> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ducimus vero accusamus iusto quia, inventore velit eos vel nulla facere culpa possimus, voluptas aperiam ullam consequatur dolorem, modi molestiae quos.</p> </div> </div> <ul class="o-features-block__item / o-filmstrip"> <li class="o-filmstrip__item"> <h3>Lorem ipsum dolor sit amet</h3> <!-- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ducimus vero accusamus iusto quia.</p> --> </li> <li class="o-filmstrip__item"> <h3>Lorem ipsum dolor sit amet</h3> <!-- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ducimus vero accusamus iusto quia.</p> --> </li> <li class="o-filmstrip__item"> <h3>Lorem ipsum dolor sit amet</h3> <!-- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ducimus vero accusamus iusto quia.</p> --> </li> </ul> </section> </main> </body></html>

Related: See More


Questions / Comments: