CodePen

HTML

            
              <div class="tooltip">Tooltip with accurate hit area</div>
            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              .tooltip:before{
  content: "";
  position: absolute;
  left: 25px;
  top: -10px;
  width: 20px;
  height: 20px;
	-webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: pink;
}

/* Standard box, not relevant to my point */
.tooltip{
  position: relative;
  background-color: pink;
  padding: 10px;
  border-radius: 10px;
  position: absolute;
  left: 40%;
  top: 40%;
  cursor: pointer;
  font-size: 30px;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................