Back to Shopify Liquid

Shopify Liquid
Extra 20
Drop this Shopify Liquid snippet into your theme to add the extra 20 block. Copy the code below, paste it into your theme files, save and you're done.
52 lines · 1.5 KB
Shopify Liquid
1<!DOCTYPE html>2<html lang="en">3<head>4 <meta charset="UTF-8">5 <meta name="viewport" content="width=device-width, initial-scale=1.0">6 <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap">7 <style>8 .unique-deal-badge-Xyz789 {9 display: inline-flex;10 align-items: center;11 font-family: 'Roboto', sans-serif; /* Using Roboto font */12 font-size: 14px;13 }1415 .unique-highlight-Abc123 {16 background-color: #ffcccc; /* Light red background */17 padding: 2px 5px;18 border-radius: 3px;19 font-weight: bold;20 color: #000;21 }2223 .unique-highlight-Abc123 .unique-deals-Def456 {24 color: #cc0000; /* Darker red text */25 }2627 .unique-extra-Ghi789 {28 color: #cc0000; /* Darker red text */29 margin-left: 5px;30 animation: unique-blink-Jkl012 2s infinite; /* Slower blinking animation */31 }3233 @keyframes unique-blink-Jkl012 {34 0%, 50%, 100% {35 opacity: 1;36 }37 25%, 75% {38 opacity: 0;39 }40 }41 </style>42 <title>Deal Badge</title>43</head>44<body class="unique-body-Mno345">45 <div class="unique-deal-badge-Xyz789">46 <div class="unique-highlight-Abc123">47 Super<span class="unique-deals-Def456">Deals</span>48 </div>49 <div class="unique-extra-Ghi789">• Extra 25% off</div>50 </div>51</body>52</html>



