JSFiddle - React, Tailwind, and code Playground

by 4lackof

HTML

<div class="title-bar">
  <div class="user-info">
    <a href="#" class="circle"></a>
    <span>Johnny B. Testname</span>
    <div class="container">
      <a href="#" class="circle"></a>
      <a href="#" id="log-off" class="circle first" title="Log Off">
      </a>
    </div>
  </div>
</div>

CSS

html, body, ul, li, a, input { box-sizing: border-box; outline: 0px solid transparent; }
.title-bar {
  border-bottom: 1px solid white;
  height: 128px;
  width: 100%;
  background-color: #999;
  float: left;
}
.user-info {
  width: 128px;
  height: 100%;
  align-items: center;
  border-left: 1px solid white;
  background-color: inherit;
  display: flex;
  justify-content: space-between;
  flex-flow: column nowrap;
  float: right;
  text-align: center;
}
.user-info span {
  overflow: hidden;
  text-overflow: '.';
}
.user-info .circle {
  border: 2px solid #369;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: 32px;
  margin: 8px 8px;
  overflow: hidden;
  transition: border 0.15s ease-out;
  width: 32px;
}
.user-info .circle:hover { border-width: 4px; }
.user-info .container {
  border-top: 1px solid white;
  display: flex;
  justify-content: center;
  margin-top: 6px;width: 100%;
}