span::before {
  content: attr(data-desc);
  // More Style Rules
}

span:hover::before {
  display: inline-block;
}

.error{
   color: red;
}

