"nav"
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/Johnius/pen/qxoDp?limit=all&page=53&q=panel" /> <script src='https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js'></script> <style class="cp-pen-styles">body { background: #ECECEB url(https://dribbble.s3.amazonaws.com/users/42384/screenshots/604752/vodafone.png) no-repeat top left; padding: 20px; } .b-userbar, .i-font_normal { font: normal 13px/1em Arial, Helvetica, sans-serif; } img { border: 0; } .i-font-size_none { font-size: 0; } .i-user-select_none { -webkit-user-select: none; } .i-overflow_ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .b-arrow { display: inline-block; } .b-arrow_down { width: 7px; height: 4px; background: url(https://commondatastorage.googleapis.com/johnius/b-dropdown.gif) no-repeat top left; } .b-arrow_userbar { position: absolute; top: 32px; right: 23px; margin-left: 7px; } .b-arrow_userbar-text { display: none; } .b-divider, .b-divider__side { display: block; } .b-divider__side { float: left; /* - По умолчанию распологается слева */ } .b-divider__side_rt { float: right; } /* - Модификатор, с ним элемент будет отображается справа */ .b-divider__base { overflow: hidden; /* - Чтобы float не пересекался с блоком */ display: block; /* - Если вдруг b-divider__base окажется строковым элементом */ } .b-divider__side, .b-divider__base { word-wrap: break-word; /* - Перенос слишком длинных слов, рекомендую прописывать к каждому блоку. */ } /*Clearfix*/ .b-divider:before, .b-divider:after { content: "\0020"; display: block; height: 0; visibility: hidden; } .b-divider:after { clear: both; } /*Очищаем float*/ /*IE6*/ * html b-divider__side { margin: 0 -3px 0 0; } * html b-divider__side_rt { margin: 0 0 0 -3px; } * html b-divider__base { zoom: 1; } .b-userbar { width: 410px; background: #fff; border: 1px solid #DEDEDE; border-radius: 4px; box-shadow: 0 2px 2px -1px rgba(0,0,0,.055); } .b-userbar__icons-item { width: 69px; background: url(https://commondatastorage.googleapis.com/johnius/userbar_item-background.gif) no-repeat right center; text-align: center; display: block; float: left; position: relative; } .b-userbar__icons-item:hover, .b-userbar__account:hover .b-userbar__account-avatar { opacity: .85; } .b-userbar__icons-item-ico { display: inline-block; } .b-userbar__icons-item-notify { background: #D8232A; font-size: 10px; line-height: 13px; font-weight: bold; color: #fff; padding: 0 2px; border-radius: 2px; position: absolute; top: 30%; left: 60%; } .b-userbar__account { padding: 0 36px 0 22px; position: relative; } .b-userbar__account:hover { color: #9F9F9F; } .b-userbar__account:hover .b-arrow { opacity: .75; } .b-userbar__account-avatar { border-radius: 2px; margin-right: 10px; position: relative; top: 1px; } .b-userbar__account-name { font-weight: bold; } .b-userbar__icons-item, .b-userbar__account { height: 25px; padding-top: 21px; padding-bottom: 21px; line-height: 25px; color: #8F8F8F; text-decoration: none; cursor: pointer; } </style></head><body> <div class="b-divider b-userbar i-user-select_none"> <div class="b-divider__side b-userbar__icons"> <a href="#" class="b-userbar__icons-item i-font-size_none"> <img src="https://commondatastorage.googleapis.com/johnius/anchor.png" width="25" height="25" alt="Userbar icon" class="b-userbar__icons-item-ico" /> <span class="b-userbar__icons-item-notify i-font_normal">5</span> </a> <a href="#" class="b-userbar__icons-item i-font-size_none"> <img src="https://commondatastorage.googleapis.com/johnius/activity.png" width="25" height="25" alt="Userbar icon" class="b-userbar__icons-item-ico" /> </a> <a href="#" class="b-userbar__icons-item i-font-size_none"> <img src="https://commondatastorage.googleapis.com/johnius/badge.png" width="25" height="25" alt="Userbar icon" class="b-userbar__icons-item-ico" /> <span class="b-userbar__icons-item-notify i-font_normal">1</span> </a> </div> <a href="#" class="b-divider__base b-userbar__account"> <span class="b-divider"> <span class="b-divider__side"> <img src="http://cs5700.userapi.com/v5700460/8a7/oKC_TqSgWoM.jpg" width="21" height="21" alt="User avatar" class="b-userbar__account-avatar"> </span> <span class="b-divider__side_rt"> <span class="b-arrow b-arrow_down b-arrow_userbar"> <span class="b-arrow_userbar-text">[Show]</span> </span> </span> <span class="b-divider__base b-userbar__account-name i-overflow_ellipsis">Johnny Concent</span> </span> </a> </div> </body></html>

Related: See More


Questions / Comments: