Подробное описание и демонстрация работы эффекта наведения для ссылки под номером №13 для библиотеки Bootstrap. Html и CSS код для оформления ссылок на сайте как на изображении.
HTML разметка и CSS стили для оформления ссылок на сайте<a href="#" class="link">hover me</a>
.link{ display: inline-block; padding: 7px 15px; background: #b34a2b; font-size: 20px; color: #fff; text-transform: uppercase; position: relative; transition: all 0.3s ease 0s; } .link:hover{ color: #fff; transform: translateY(-10px); } .link:before{ content: ""; border-top: 10px solid #b34a2b; border-left: 10px solid transparent; border-right: 10px solid transparent; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); transition: all 0.3s ease 0s; } .link:hover:before{ bottom: -10px; } @media only screen and (max-width: 767px){ .link{ margin-bottom: 20px; } }