Unlock every premium block and template with All-Access from $20 / 3 months, cancel anytime. Get All-Access
All blocks
Free Call to action

Suntrix Call to action

A call to action block extracted from the Suntrix template, available in Tailwind CSS.

0 9
Suntrix Call to action preview

Download Codebase

Commercial License

Free download · up to 5 blocks per day. Unlimited with All-Access

suntrix.html
<!DOCTYPE html>
<html lang="en">
<head>
    <script>
        window.FontAwesomeConfig = {
          autoReplaceSvg: 'nest'
        };
      </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/js/all.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Suntrix Call to action | Tailwind CSS UI Block</title>
    <meta name="description" content="A call to action block extracted from the Suntrix template, available in Tailwind CSS.">
    <meta name="keywords" content="Suntrix, Tailwind CSS template, HTML website template, solar energy, renewable startup, clean tech, green energy landing page">
    <meta name="author" content="Let's templates">
    <link rel="canonical" href="">

    <meta property="og:type" content="product">
    <meta property="og:site_name" content="Let's templates">
    <meta property="og:locale" content="en_US">
    <meta property="og:url" content="">
    <meta property="og:title" content="Suntrix | Tailwind CSS Solar Energy Startup Template">
    <meta property="og:description" content="A bright Tailwind CSS solar energy startup template for clean-tech companies, renewable installers, and sustainable energy brands.">
    <meta property="og:image" content="">
    <meta property="og:image:alt" content="Suntrix template preview">

    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:url" content="">
    <meta name="twitter:title" content="Suntrix | Tailwind CSS Solar Energy Startup Template">
    <meta name="twitter:description" content="A bright Tailwind CSS solar energy startup template for clean-tech companies, renewable installers, and sustainable energy brands.">
    <meta name="twitter:image" content="">
    <meta name="twitter:image:alt" content="Suntrix template preview">
    <script src="https://cdn.tailwindcss.com/3.4.17"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
        }
        .hero-mosaic {
            --tile: 8rem;
            --gap: 0.75rem;
        }
        @media (min-width: 1024px) {
            .hero-mosaic {
                --tile: calc((min(100vw, 80rem) - 4rem - 5 * var(--gap)) / 6 * 0.92);
                grid-template-rows: repeat(3, var(--tile));
            }
        }
        .mosaic-tile {
            height: var(--tile);
        }
        .mosaic-img {
            position: absolute;
            left: 0;
            width: 100%;
            height: calc(3 * var(--tile) + 2 * var(--gap));
            object-fit: cover;
            object-position: 14% center;
        }
        .mosaic-top { top: 0; }
        .mosaic-mid { top: calc(-1 * (var(--tile) + var(--gap))); }
        .mosaic-bottom { top: calc(-2 * (var(--tile) + var(--gap))); }
        .dot-map {
            background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.1px, transparent 1.4px);
            background-size: 9px 9px;
            -webkit-mask-image: radial-gradient(ellipse 70% 60% at 62% 38%, #000 35%, transparent 72%);
            mask-image: radial-gradient(ellipse 70% 60% at 62% 38%, #000 35%, transparent 72%);
        }
        .turbine-rotor {
            transform-origin: 60px 52px;
            animation: turbine-spin 9s linear infinite;
        }
        @keyframes turbine-spin {
            to { transform: rotate(360deg); }
        }
        @media (prefers-reduced-motion: reduce) {
            .turbine-rotor { animation: none; }
        }
    </style>
</head>
<body class="bg-white text-[#1d2150] overflow-x-hidden">
<!-- block:start cta -->
    <section id="contact" class="px-4 py-24 sm:px-6 lg:px-8">
        <div class="relative max-w-7xl mx-auto overflow-hidden rounded-3xl">
            <img class="absolute inset-0 h-full w-full object-cover" src="https://images.unsplash.com/photo-1466611653911-95081537e5b7?auto=format&fit=crop&w=1600&q=80" alt="Wind turbines silhouetted against a golden sunset" />
            <div class="absolute inset-0 bg-gradient-to-r from-[#1d2150] via-[#1d2150]/85 to-[#1d2150]/30"></div>
            <div class="relative max-w-xl px-8 py-16 text-white sm:px-14 sm:py-20">
                <h2 class="text-4xl font-semibold leading-tight tracking-tight">Ready to switch to the sun?</h2>
                <p class="mt-5 text-white/75">Book a free site assessment and receive a tailored savings projection within 48 hours.</p>
                <form class="mt-8 flex flex-col gap-3 sm:flex-row">
                    <label class="sr-only" for="cta-email">Work email</label>
                    <input id="cta-email" type="email" placeholder="Your work email" class="min-w-0 flex-1 rounded-lg bg-white/10 px-5 py-3.5 text-sm text-white placeholder:text-white/60 outline-none ring-1 ring-white/25 focus:ring-[#f29a2e]">
                    <button type="submit" class="rounded-lg bg-[#f29a2e] px-6 py-3.5 text-sm font-bold text-[#1d2150] hover:bg-[#e88a17] transition-colors">Book assessment</button>
                </form>
            </div>
        </div>
    </section>
    <!-- block:end cta -->
<script>
        document.getElementById('mobile-menu-button').addEventListener('click', function () {
            var menu = document.getElementById('mobile-menu');
            var open = menu.classList.toggle('hidden') === false;
            this.setAttribute('aria-expanded', open);
        });
    </script>
<!-- Optional credit — delete this block if you prefer a clean footer -->
<p class="lt-built-with" style="margin:0;padding:12px 16px;text-align:center;font:500 11px/1.4 system-ui,-apple-system,sans-serif;color:#9ca3af;">Built with <a href="https://letstemplates.com" style="color:#059669;text-decoration:none;">Let's templates</a></p>
</body>
</html>

From this template

Suntrix screenshot Premium

Startup

Suntrix

Unlimited access to all products

Unlock the entire library of premium templates and blocks. Renews automatically, cancel anytime.

$20 / 3 months or $60 / year
Get Unlimited Access