JSFiddle - React, Tailwind, and code Playground

by SchmalzyB

HTML

<a class="logo-wrap" href="/">
    <img class="logo" src="http://placehold.it/100x100" />
    <span class="logo-popup">Brandon Schmalz</span>
</a>

CSS

body { 
    padding: 50px;
    background: #eee;
}

.logo-wrap {
    position: relative;
    display: inline-block;
}

.logo-wrap:hover > .logo-popup {
    display: block;
}

.logo {
  height: 100px;
  width: 100px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.logo-popup {
  display: none;
  position: absolute;
  left: 108px;
  top: 50%;
  margin-top: -1.5em;
  padding: 0.5em 0.75em;
  border-radius: 0.25em;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  background-color: #16a085;
}

.logo-popup::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 0px;
    height: 0px;
    border-top: 8px solid transparent;
    border-right: 8px solid #16a085;
    border-bottom: 8px solid transparent;
    left: 0;
    margin-top: -7px;
    margin-left: -7px;
}