Подробное описание и демонстрация работы эффекта наведения для ссылки под номером №22 для библиотеки Bootstrap. Html и CSS код для оформления ссылок на сайте как на изображении.
HTML разметка и CSS стили для оформления ссылок на сайте<a href="#" class="link">hover me</a>
.demo{ background: #f93131; } .link{ display: inline-block; padding: 8px 12px; font-size: 23px; color: #fff; text-transform: uppercase; overflow: hidden; z-index: 1; position: relative; transition: all 0.3s ease 0s; } .link:hover{ color: #fff; filter: blur(0.8px); -webkit-filter: blur(0.8px); -moz-filter: blur(0.8px); text-shadow: 5px 5px 8px #000; } .link:before, .link:after{ content: ""; width: 100%; height: 2px; background: rgba(255,255,255,0.5); position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); transition: all 0.3s ease 0s; } .link:after{ width: 20%; background: #fff; left: -30%; transform: translateX(0); } .link:hover:before{ width: 70%; } .link:hover:after{ left: 110%; } @media only screen and (max-width: 767px){ .link{ margin-bottom: 20px; } }