Подробное описание и демонстрация работы эффекта наведения для ссылки под номером №21 для библиотеки Bootstrap. Html и CSS код для оформления ссылок на сайте как на изображении.
HTML разметка и CSS стили для оформления ссылок на сайте<a href="#" class="link">hover me</a>
.link{ display: inline-block; padding: 5px 15px; font-size: 20px; color: #2980b9; text-transform: uppercase; border-radius: 15px 0; overflow: hidden; z-index: 1; position: relative; transition: all 0.3s ease 0s; } .link:hover{ color: #fff; } .link:after{ content: ""; display: block; width: 50px; height: 50px; border-radius: 50%; background: #2980b9; position: absolute; top: 50%; left: 50%; z-index: -1; transform: translate(-50%, -50%) scale(0); transition: all 0.5s ease 0s; } .link:hover:after{ transform: translate(-50%, -50%) scale(3); } @media only screen and (max-width: 767px){ .link{ margin-bottom: 20px; } }