Узнать, как создать кнопки "вперед" и "назад" используя HTML, CSS.
Кнопки вперед и назад
Создать кнопки вперед и назад
Шаг 1) Добавить HTML:
<a href="#" class="previous">« Назад</a>
<a href="#" class="next">Далее »</a>
<a href="#" class="previous round">‹</a>
<a href="#" class="next round">›</a>
Шаг 2) Добавить CSS:
a {
text-decoration: none;
display: inline-block;
padding: 8px 16px;
}
a:hover {
background-color: #ddd;
color: black;
}
.previous {
background-color: #f1f1f1;
color: black;
}
.next {
background-color: #04AA6D;
color: white;
}
.round {
border-radius: 50%;
}
Попробуйте сами »