Us vs Them

Posted on: 17/04/2025
Updated on: 17/04/2025
Code Preview
How to add your shopify Code
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Astro Dust v1.0</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
    <style>
        .product-comparison {
            font-family: 'Inter', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #ffffff;
            color: #000000;
            text-align: center;
        }

        .product-comparison__header {
            margin: 20px auto;
            max-width: 800px;
            padding: 0 20px;
            text-align: center;
        }

        .product-comparison__tag {
            background-color: #ff5b8c;
            color: #ffffff;
            font-size: 14px;
            font-weight: bold;
            padding: 5px 10px;
            border-radius: 20px;
            display: inline-block;
            text-transform: lowercase;
        }

        .product-comparison__title {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            margin: 10px 0;
            text-transform: capitalize;
        }

        .product-comparison__subtitle {
            font-size: 16px;
            margin: 0;
        }

        .comparison {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 30px auto;
            max-width: 800px;
            padding: 0 20px;
        }

        .comparison__item {
            width: 200px;
            text-align: center;
            position: relative;
        }

        .comparison__image {
            width: 100%;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .comparison__guarantee {
            position: absolute;
            top: -15px;
            left: -15px;
            width: 80px;
            height: auto;
            z-index: 2;
            pointer-events: none;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        }

        .comparison__vs {
            font-size: 24px;
            font-weight: bold;
            margin: 0 20px;
            color: #7c4dff;
        }

        .features {
            margin: 30px auto;
            max-width: 800px;
            padding: 0 20px;
        }

        .features__row {
            display: flex;
            justify-content: center;
            align-items: stretch;
            margin: 10px 0;
            gap: 2px;
        }

        .features__item {
            flex: 1;
            padding: 15px 20px;
            font-size: 16px;
            display: flex;
            align-items: center;
        }

        .features__item--ours {
            background: linear-gradient(135deg, #7c4dff 0%, #ff5b8c 100%);
            color: #ffffff;
            font-weight: bold;
            border-radius: 20px 0 0 20px;
            text-align: left;
            box-shadow: 0 4px 8px rgba(124, 77, 255, 0.2);
            transform: translateY(0);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .features__item--ours:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(124, 77, 255, 0.3);
        }

        .features__item--theirs {
            background-color: #f2f2f2;
            color: #000000;
            border-radius: 0 20px 20px 0;
            text-align: left;
        }

        .features__icon {
            margin-right: 10px;
        }

        .features__icon--check {
            color: #ffffff;
        }

        .features__icon--cross {
            color: #ff5b8c;
        }

        .cta {
            margin: 30px 0;
            text-align: center;
        }

        .cta__text {
            font-size: 16px;
            color: #7c4dff;
            margin: 10px 0;
        }

        .cta__button {
            background-color: #000000;
            color: #ffffff;
            font-size: 18px;
            font-weight: bold;
            padding: 15px 30px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            transition: transform 0.2s ease;
        }

        .cta__button:hover {
            transform: translateY(-2px);
        }

        .cta__guarantee {
            font-size: 14px;
            color: #000000;
            margin-top: 10px;
        }

        @media (max-width: 600px) {
            .comparison {
                flex-direction: column;
                gap: 20px;
            }

            .comparison__item {
                width: 100%;
                max-width: 300px;
            }

            .comparison__vs {
                margin: 10px 0;
            }

            .features__row {
                flex-direction: column;
                gap: 2px;
            }

            .features__item--ours {
                border-radius: 20px 20px 0 0;
            }

            .features__item--theirs {
                border-radius: 0 0 20px 20px;
            }
        }
    </style>
</head>
<body class="product-comparison">
    <header class="product-comparison__header">
        <div class="product-comparison__tag">us vs. them</div>
        <h1 class="product-comparison__title">night time ritual like no other</h1>
        <p class="product-comparison__subtitle">Astro Dust v1.0</p>
    </header>

    <div class="comparison">
        <div class="comparison__item">
            <img class="comparison__image" src="https://placehold.co/200x200" alt="Spacegoods Astro Dust v1.0 packaging with a scoop and powder">
            <img class="comparison__guarantee" src="https://spacegoods.com/cdn/shop/t/400/assets/satisfaction.svg" alt="100% Satisfaction Guarantee">
        </div>
        <div class="comparison__vs">vs.</div>
        <div class="comparison__item">
            <img class="comparison__image" src="https://placehold.co/200x200" alt="Pharmaceutical pills spilling out of a bottle">
        </div>
    </div>

    <div class="features">
        <div class="features__row">
            <div class="features__item features__item--ours"><span class="features__icon features__icon--check">✔</span> Sip & savor your nightly ritual</div>
            <div class="features__item features__item--theirs"><span class="features__icon features__icon--cross">✖</span> Swallow pills quickly with water</div>
        </div>
        <div class="features__row">
            <div class="features__item features__item--ours"><span class="features__icon features__icon--check">✔</span> Rich chocolate flavor you'll crave</div>
            <div class="features__item features__item--theirs"><span class="features__icon features__icon--cross">✖</span> Bland, medicinal taste</div>
        </div>
        <div class="features__row">
            <div class="features__item features__item--ours"><span class="features__icon features__icon--check">✔</span> Pure, natural ingredients you can trust</div>
            <div class="features__item features__item--theirs"><span class="features__icon features__icon--cross">✖</span> Synthetic compounds & fillers</div>
        </div>
        <div class="features__row">
            <div class="features__item features__item--ours"><span class="features__icon features__icon--check">✔</span> Complete super-blend in one scoop</div>
            <div class="features__item features__item--theirs"><span class="features__icon features__icon--cross">✖</span> Multiple pills & supplements needed</div>
        </div>
    </div>

    <div class="cta">
        <p class="cta__text">Astro Dust v1.0 can be mixed with just about anything to enjoy it however you like...</p>
        <a href="#" class="cta__button">TRY ASTRO DUST RISK-FREE</a>
        <p class="cta__guarantee">We offer a risk free 60 day money-back guarantee</p>
    </div>
</body>
</html>

Other Elements

Copyright Jumping Monkey © 2025 All Rights Reserved
bookmark