JSFiddle - React, Tailwind, and code Playground
by Kocsten
HTML
<div class="gtesazu-nilopogas">
<p><a href="#">Сюда наводим клик для эффекта</a></p>
</div>
CSS
.gtesazu-nilopogas a {
color: #3399FF;
text-decoration: none;
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
position: relative;
display: inline-block;
}
.gtesazu-nilopogas a:hover {
color: #337AB7;
text-decoration: none;
}
.gtesazu-nilopogas a::before {
position: absolute;
top: 100%;
left: 50%;
color: transparent;
content: '•';
text-shadow: 0 0 transparent;
font-size: 12px;
-webkit-transition: text-shadow 0.3s, color 0.3s;
-moz-transition: text-shadow 0.3s, color 0.3s;
transition: text-shadow 0.3s, color 0.3s;
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
transform: translateX(-50%);
pointer-events: none;
line-height: .1em;
}
.gtesazu-nilopogas a:hover::before,
.gtesazu-nilopogas a:focus::before {
color: #3399FF;
text-shadow: 12px 0 #3399FF, -12px 0 #3399FF;
}