Как сделать - Кнопки "Далее" и "назад"
Узнайте, как создать "Next" и "Previous" кнопки с CSS.
Кнопки "Далее" и "назад"
Как создать следующую и предыдущую кнопки
Шаг 1) добавить HTML:
Пример
<a href="#" class="previous">« Previous</a>
<a
href="#" class="next">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: #4CAF50;
color: white;
}
.round {
border-radius: 50%;
}