"avatar"
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 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/mikefowler/pen/wdxgH?depth=everything&limit=all&order=popularity&page=7&q=avatar&show_forks=false" /> <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">.avatar { display: inline-block; position: relative; } .avatar img { box-shadow: 0 0 0 5px white, 0 3px 5px 4px rgba(0, 0, 0, 0.1); } .avatar::after { content: ''; position: absolute; top: 100%; left: 50%; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 12.6px solid white; margin-left: -7px; -webkit-filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.1)); } .avatar_rect img { border-radius: 10px; } .avatar_round img { border-radius: 50%; } /* Presentation */ html, body { background: #ddd; } body { padding-top: 40px; } .container { width: 607px; margin: 0 auto; position: relative; } .avatar { position: absolute; top: 1000px; } .avatar:nth-child(1) { top: 58px; left: 44px; } .avatar:nth-child(2) { top: 0; left: 198px; } .avatar:nth-child(3) { left: 376px; top: 37px; } .avatar:nth-child(4) { left: 0; top: 215px; } .avatar:nth-child(5) { left: 180px; top: 150px; } </style></head><body> <div class="container"> <div class="avatar avatar_rect"> <img src="https://placehold.it/74x102" alt="" /> </div> <div class="avatar avatar_round"> <img src="https://placehold.it/90x90" alt="" /> </div> <div class="avatar avatar_round"> <img src="https://placehold.it/140x140" alt="" /> </div> <div class="avatar avatar_round"> <img src="https://placehold.it/90x90" alt="" /> </div> <div class="avatar avatar_rect"> <img src="https://placehold.it/140x140" alt="" /> </div> </div> </body></html>

Related: See More


Questions / Comments: