"layout"
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/romswellparian/pen/xGEmGb?depth=everything&order=popularity&page=82&q=chat&show_forks=false" /> <link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <link href='//fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Romanesco' rel='stylesheet' type='text/css'> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'><script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script> <style class="cp-pen-styles">::-webkit-input-placeholder {color: #79848A;} :-moz-placeholder {color: #79848A;} ::-moz-placeholder {color: #79848A;} :-ms-input-placeholder { color: #79848A;} body { background: linear-gradient(to top left, #E9DCCE, #3E5C6C); *background-size: 14px 14px; font-family: 'Roboto', sans-serif; line-height: 1.5em; } a { color: inherit; text-decoration: none; -webkit-transition: all .45s ease-in-out; -moz-transition: all .45s ease-in-out; transition: all .45s ease-in-out; } article, footer, header, main, section, .box { display: block; margin: 0; overflow: hidden; padding: 0; position: relative; } article { background: #FFF; border: 2px solid #EDF1F2; border-radius: 5px; display: inline-block; height: auto; margin: 0 10px 20px 10px; overflow: visible; text-align: left; width: 44%; } article > a { border-radius: 5px 5px 0 0; display: block; height: 240px; margin: -2px -2px 0 -2px; overflow: hidden; padding: 0; position: relative; } article > a:before { background: linear-gradient(to bottom, transparent, #000); content: ""; height: 100%; left: 0; position: absolute; top: 40%; width: 100%; } article > a img { object-fit: cover; height: inherit; } article h2 > a { border: 4px solid #FFF; border-radius: 100%; display: block; float: left; height: 66px; margin: 0 10px 0 0; overflow: hidden; position: relative; width: 66px; } article h2 { clear: both; color: #FFF; display: block; font-size: 13px; margin: -37px 10px 0; overflow: hidden; position: relative; } article h2 > span { color: #A5B1B8; display: block; } article h2 span a { color: #FFF; display: block; font-size: 18px; margin: 0 auto 1em; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); } article h2 > span i { display: inline-block; font-size: 16px; padding: 0 4px 0 0; vertical-align: middle; } article h2 > span span { display: inline-block; padding: 0 4px; } article p { clear: both; color: #67737A; display: block; font-size: 13px; line-height: 1.45; padding: 1em; } article .box { background: #EDF1F2; color: #A5B1B8; font-size: 13px; padding: 8px 10px; } article .box a { display: inline-block; margin: 0 1em 0 0; } article .box span { display: inline-block; position: absolute; right: 0; } article .box a i { color: rgba(0, 0, 0, 0); -webkit-text-stroke: 2px #A5B1B8; } button, form, input { background: transparent; font-size: 16px; margin: 0; overflow: hidden; padding: 0; position: relative; } button, input { border: 1px solid; outline: 0; padding: 4px 8px; width: calc(100% - 18px); } footer { background: #FFF; border-radius: 0 0 5px 5px; padding: 40px; margin: 0 20px; } header { background: #FFF; border-radius: 5px 5px 0 0; height: 80px; margin: 0 20px; } header h1 { color: #67737A; font-family: 'Romanesco', cursive; font-size: 2em; font-weight: 400; letter-spacing: 1px; margin: 0 auto; } header > .box { display: flex; height: 40px; line-height: 40px; padding: 20px; } header > .box .box { text-align: center; width: 33.333333333%; } header .box.left { display: flex; margin: -20px 0 -20px -20px; text-align: left; width: calc(33.3333333333% + 20px); } header .box.left button { border: 0; font-size: 1.35em; height: 30px; line-height: 30px; margin: 0 auto 1px; padding: 0; position: absolute; right: 0; text-align: center; top: 5px; width: 29px; } header .box.left input { border: 0; border-bottom: 2px solid; padding: 4px 24px 4px 0px; width: calc(100% - 24px); } header .box.left > span { color: #A5B1B8; height:; padding: 20px; } header .box.left > span:first-child { background: #38A6A6; color: #FFF; width: 80px; } header .box.center { text-align: center; } header .box.right { color: #67737A; text-align: right; } header .box.right span { display: inline-block; margin: 0 20px 0 0; } header .box.right .ion-person { border: 2px solid; border-radius: 100%; display: inline-block; height: 20px; line-height: 20px; margin: 0 auto 0 20px; text-align: center; width: 20px; } img { display: block; width: 100%; } li { display: block; list-style-type: none; margin: 0; overflow: hidden; padding: 0; position: relative; } main { background: transparent; height: initial; margin: 5em auto; max-width: 1080px; } main .header { background: #2C353A; color: #848E92; display: flex; height: 90px; } main .body { text-align: center; width: calc(100% - 240px); } main .side { background: #EDF1F2; border-left: 1px solid rgba(0,0,0,.05); width: 240px; } section { background: #FFF; border-radius: 0; margin: 0 20px; } section:last-child { border-radius: 0 0 5px 5px; } section > .content { display: flex; height: initial; } ul { display: block; list-style-type: none; margin: 0; overflow: hidden; padding: 0; position: relative; } .body .intro { background: #CCC url(https://goo.gl/sQgn2v) center no-repeat; background-size: cover; height: 260px; margin: 0 auto 1em; text-align: left; } .body .intro:before { background: linear-gradient(to bottom, transparent, #30434D); content: ""; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } .body .intro h2 { bottom: 0; color: #FFF; font-size: 4em; font-weight: 300; line-height: 1.2; padding: 0 20px; position: absolute; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); } .body .intro h2 span { display: block; font-size: 14px; padding: 0 6px; } .header > span { display: inline-block; height: 90px; line-height: 90px; text-align: center; vertical-align: middle; width: 100%; } .header > span a { display: block; font-size: 12px; font-weight: 500; line-height: 1.5; overflow: hidden; padding: 26px 20px 25px; position: relative; text-transform: capitalize; } .header > span a:hover { background: #222B2F; color: #FFF; } .header > span i { display: block; font-size: 18px; line-height: normal; } .header .c-mms { background: #E17950; border-radius: 100%; color: #FBEDE8; display: block; font-size: 13px; height: 20px; left: 0; line-height: 20px; margin: 0 auto 0 50%; padding: 0; position: absolute; right: 0; text-align: center; top: 16px; width: 20px; } .side a:hover { text-decoration: underline; } .side h3 { color: #A5B1B8; font-size: 13px; font-weight: 600; letter-spacing: 1px; padding: 10px 0; text-transform: uppercase; } .side h4 { font-size: 13px; font-weight: 500; margin: 0 auto; } .side h4 span { display: block; font-size: 10px; font-weight: 400; line-height: normal; } .side h4 span:before { background: #BFCACD; border-radius: 100%; content: ""; height: 4px; padding: 2px; position: absolute; right: 0; top: 26px; width: 4px; } .side h4 .x:before {background: #D66464;} .side h4 .y:before {background: #B1CC85;} .side h4 .z:before {background: #F5B041;} .side img { height: inherit; object-fit: cover; } .side li { padding: 8px 0; } .side li > a { border-radius: 100%; display: block; float: left; height: 32px; margin: 0 10px 0 0; overflow: hidden; padding: 0; position: 0; width: 32px; } .side .box { color: #707B82; padding: 10px 26px; } .side .searchFriend { padding: 26px; } .side .searchFriend button { border: 0; color: #A5B1B8; height: 29px; line-height: 21px; position: absolute; right: 0; text-align: center; top: 0; width: 29px; } .side .searchFriend input { border: 0; border-bottom: 2px solid #A5B1B8; font-size: 13px; padding: 4px 29px 4px 0; width: calc(100% - 29px); } @media only screen and (max-width: 786px) { header .box.left > span:first-child, header .box.right font { display: none; } main { margin: 2em auto; } main .header { height: 80px; line-height: 80px; } section > .content { display: block; } section .body { width: initial; } section .side { display: none; } .header > span { height: 80px; line-height: 80px; } .header > span a { padding: 21px 0 20px; } } @media only screen and (max-width: 680px) { article { display: block; margin: 1em; width: initial; } main { margin: 1em auto; } main .header { height: 70px; line-height: 70px; } .header > span { height: 50px; line-height: 70px; } .header > span a { padding: 16px 0 15px; } } @media only screen and (max-width: 480px) { header .box.center { text-align: left; width: 50%; } header .box.left { display: none; } header .box.right {width: 50%;} main .header { height: 60px; line-height: 60px; } .header font { display: none; } .header > span { height: 60px; line-height: 60px; } .header > span a { padding: 20px 0 19px; } }</style></head><body> <main> <header> <div class="box"> <div class="box left"> <span> <form action=""> <input type="search" /> <button type="submit"> <i class="ion-search"></i> </button> </form> </span> <span> <i class="ion-earth"></i> New York </span> </div> <div class="box center"> <h1>Wayfaring</h1> </div> <div class="box right"> <span> <a href=""> <font>Users</font> <i class="ion-person"></i> </a> </span> <span> <a href=""><i class="ion-power"></i></a> </span> </div> </div> </header> <section> <div class="box header"> <span> <a href=""> <i class="ion-compass"></i> <font>Explore</font> </a> </span> <span> <a href=""> <i class="ion-chatboxes"></i> <font>Messages</font> <span class="c-mms">2</span> </a> </span> <span> <a href=""> <i class="ion-calendar"></i> <font>Plans</font> </a> </span> <span> <a href=""> <i class="ion-image"></i> <font>Pictures</font> </a> </span> <span> <a href=""> <i class="fa fa-video-camera"></i> <font>Videos</font> </a> </span> <span> <a href=""> <i class="ion-person"></i> <font>Friens</font> </a> </span> </div> </section> <section> <div class="box content"> <div class="box body"> <div class="box intro"> <h2>New York <span>40.6700º N, 73.9400º W</span> </h2> </div> <article> <a href=""> <img src="https://goo.gl/Sb3kxS" alt="" /> </a> <h2> <a href=""><img src="https://goo.gl/s8X5z3" alt="" /></a> <span><a href="">Ei populo graeci</a></span> <span> <span><i class="ion-clock"></i> 09:45</span> <span><i class="ion-location"></i> U.S.A</span> </span> </h2> <p>Lorem ipsum ad his scripta blandit partiendo, eum fastidii accumsan euripidis in, eum liber hendrerit an. Qui ut wisi vocibus suscipiantur, quo dicit ridens inciderint id.</p> <div class="box"> <a href=""><i class="ion-heart"></i> 14K</a> <a href=""><i class="ion-chatbox"></i> 24</a> <span><i class="ion-person"></i> by <a href="">Users</a></span> </div> </article> <article> <a href=""> <img src="https://goo.gl/bgRQte" alt="" /> </a> <h2> <a href=""><img src="https://goo.gl/s8X5z3" alt="" /></a> <span><a href="">Ei populo graeci</a></span> <span> <i class="ion-clock"></i> 09:45 <i class="ion-location"></i> U.S.A </span> </h2> <p>Lorem ipsum ad his scripta blandit partiendo, eum fastidii accumsan euripidis in, eum liber hendrerit an. Qui ut wisi vocibus suscipiantur, quo dicit ridens inciderint id.</p> <div class="box"> <a href=""><i class="ion-heart"></i> 14K</a> <a href=""><i class="ion-chatbox"></i> 24</a> <span><i class="ion-person"></i> by <a href="">Users</a></span> </div> </article> </div> <div class="box side"> <div class="box"> <h3>Online</h3> <ul> <li> <a href=""><img src="https://goo.gl/o1K3af" alt="" /></a> <h4> <a href="">Ana Beatles</a> <span class="y">Los Angeles</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/21AiXv" alt="" /></a> <h4> <a href="">Beatine Cornwell</a> <span class="y">New York</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/FSTPDg" alt="" /></a> <h4> <a href="">Canella Asthowerdlas</a> <span class="z">Atlanta</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/jNfBu7" alt="" /></a> <h4> <a href="">Delma Dwomer</a> <span class="y">Seattle</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/900EBG" alt="" /></a> <h4> <a href="">Erine Ebbiz</a> <span class="x">Los Angeles</span> </h4> </li> </ul> <h3>Offline</h3> <ul> <li> <a href=""><img src="https://goo.gl/jUvOmH" alt="" /></a> <h4> <a href="">Fatima Cress</a> <span>Los Angeles</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/oYF6QG" alt="" /></a> <h4> <a href="">Summer Mohn</a> <span>Canada</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/7QABnk" alt="" /></a> <h4> <a href="">Lola Hloss</a> <span>Atlanta</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/iiLPjZ" alt="" /></a> <h4> <a href="">Paula Towers</a> <span>Lima</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/1pDyY6" alt="" /></a> <h4> <a href="">Alissa Mill</a> <span>Paris</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/xPu7SR" alt="" /></a> <h4> <a href="">Fatima Cofrew</a> <span>Lima</span> </h4> </li> <li> <a href=""><img src="https://goo.gl/5Sx3Hf" alt="" /></a> <h4> <a href="">Mia Alex</a> <span>london</span> </h4> </li> </ul> </div> <div class="box searchFriend"> <form action=""> <input placeholder="Chat with..." type="search" /> <button><i class="ion-search"></i></button> </form> </div> </div> </div> </section> </main> </body></html>

Related: See More


Questions / Comments: