Анимация появлений разделов форума (Модификация)

Активный
Статус
Оффлайн
Сообщения
167
Лайки
120

3

месяц на сайте

1762318741983.png

Переходим в шаблоны - Extra Less и пишем следующий код:

CSS:
.block--nodes .block-body {
    animation: fadeIn 0.8s ease-in-out;
}
.node {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}
.node:nth-child(1) { animation-delay: 0.1s; }
.node:nth-child(2) { animation-delay: 0.2s; }
.node:nth-child(3) { animation-delay: 0.3s; }
.node:nth-child(4) { animation-delay: 0.4s; }
.node:nth-child(5) { animation-delay: 0.5s; }


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 

1 человек читают эту тему (Всего: 1, Пользователей: 0, Гостей: 1)

Сверху