← Назад к шаблонам На главную
Анимации

Анимированный главный экран

Главный экран сайта с акцентом на преимущества компании или специалиста. Подходит для лендингов, портфолио и IT-проектов, помогает быстро показать основные услуги и повысить вовлечённость посетителей.

Сложность: Средняя HTML CSS keyframes gradients glow effects responsive layout
Python Developer

Создаю backend, который работает

REST API, Django-приложения, Telegram-боты и веб-сервисы с аккуратным интерфейсом и продуманной архитектурой.

class Developer:
    stack = ["Django", "DRF", "Linux"]

    def deploy(self):
        return "production ready"
<section class="animated-hero">
    <div class="animated-hero__content">
        <span class="animated-hero__badge">Python Developer</span>

        <h1>
            Создаю backend,
            <span>который работает</span>
        </h1>

        <p>
            REST API, Django-приложения, Telegram-боты и веб-сервисы
            с аккуратным интерфейсом и продуманной архитектурой.
        </p>

        <div class="animated-hero__actions">
            <a href="#" class="animated-hero__button animated-hero__button--primary">
                Смотреть проекты
            </a>
            <a href="#" class="animated-hero__button animated-hero__button--ghost">
                Связаться
            </a>
        </div>
    </div>

    <div class="animated-hero__visual">
        <div class="code-card">
            <div class="code-card__dots">
                <span></span>
                <span></span>
                <span></span>
            </div>

            <pre><code>class Developer:
    stack = ["Django", "DRF", "Linux"]

    def deploy(self):
        return "production ready"</code></pre>
        </div>
    </div>

    <span class="orb orb--blue"></span>
    <span class="orb orb--purple"></span>
</section>
.animated-hero {
    position: relative;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: 56px;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.35), transparent 32%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.35), transparent 34%),
        linear-gradient(135deg, #020617 0%, #0f172a 55%, #111827 100%);
}

.animated-hero__content {
    position: relative;
    z-index: 2;
    animation: heroFadeUp 0.9s ease forwards;
}

.animated-hero__badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.16);
    border: 1px solid rgba(96, 165, 250, 0.45);
    font-size: 14px;
}

.animated-hero h1 {
    max-width: 620px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(36px, 6vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.animated-hero h1 span {
    display: block;
    color: #60a5fa;
}

.animated-hero p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.7;
}

.animated-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.animated-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-hero__button:hover {
    transform: translateY(-3px);
}

.animated-hero__button--primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 18px 50px rgba(37, 99, 235, 0.35);
}

.animated-hero__button--ghost {
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.45);
}

.code-card {
    padding: 24px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(96, 165, 250, 0.35);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.55);
    backdrop-filter: blur(18px);
}

.code-card__dots {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.code-card__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #3b82f6;
}

.code-card__dots span:nth-child(2) {
    background: #8b5cf6;
}

.code-card__dots span:nth-child(3) {
    background: #22c55e;
}

.code-card pre {
    margin: 0;
    color: #dbeafe;
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.orb {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.45;
    animation: pulseOrb 4s ease-in-out infinite;
}

.orb--blue {
    top: -70px;
    right: 20%;
    background: #2563eb;
}

.orb--purple {
    bottom: -90px;
    left: 20%;
    background: #7c3aed;
    animation-delay: 1.2s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulseOrb {
    0%, 100% {
        transform: scale(1);
        opacity: 0.35;
    }

    50% {
        transform: scale(1.18);
        opacity: 0.55;
    }
}

@media (max-width: 768px) {
    .animated-hero {
        grid-template-columns: 1fr;
        padding: 32px 22px;
    }

    .animated-hero__visual {
        margin-top: 20px;
    }
}
🚀 Рассчитать проект