JSFiddle - React, Tailwind, and code Playground
by Kocsten
HTML
<p>Если ничего больше, Quantic Dream знает, как привлечь внимание. Даже если эта студия является самым известным для токарной рутинных задач, таких как скручивание дверных ручек в игровую механику, есть уровень верности в своих последних работах, которые, несомненно, привлекающее внимание. И, несмотря на Детройт: Beyond Human, связанный с технологической демонстрацией 2012 PS3, этот новый релиз все еще способен удивить нас.</p>
<p>Здесь создаем подсказку, как пример: <a href="#" data-tool="ZorNet.Ru: Создание сайта uCoz" class="sartunges nulpasramig">Навести клиек на переход</a> здесь идет продолжение описание</p>
CSS
a.sartunges{
position: relative;
display: inline;
}
a.sartunges:after {
display: block;
visibility: hidden;
position: absolute;
bottom: 0;
left: 31%;
opacity: 0;
content: attr(data-tool);
height: auto;
min-width: 99px;
padding: 7px 9px;
z-index: 999;
color: #f9f2f2;
text-decoration: none;
text-align: center;
background: rgba(0,0,0,0.85);
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
}
a.sartunges:before {
position: absolute;
visibility: hidden;
width: 0;
height: 0;
left: 39%;
bottom: 0px;
opacity: 0;
content: "";
border-style: solid;
border-width: 7px 7px 0 7px;
border-color: rgba(0,0,0,0.85) transparent transparent transparent;
}
a.sartunges:hover:after{ visibility: visible; opacity: 1; bottom: 19px; }
a.sartunges:hover:before{ visibility: visible; opacity: 1; bottom: 15px; }
a.sartunges.nulpasramig:after, a.sartunges.nulpasramig:before {
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}