|
1 | 1 | <!DOCTYPE html> |
2 | | -<html lang="en" > |
| 2 | +<html lang="en"> |
3 | 3 | <head> |
4 | 4 | <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <meta name="description" content="Browse CSS gradients by Bold Outlook. Search visually appealing gradients, preview each design, and copy ready-to-use CSS code."> |
| 7 | + <meta name="robots" content="index,follow"> |
| 8 | + <meta name="theme-color" content="#5caf47"> |
| 9 | + <meta property="og:type" content="website"> |
| 10 | + <meta property="og:title" content="CSS Gradients by Bold Outlook"> |
| 11 | + <meta property="og:description" content="A polished CSS gradient library with quick preview, search, and one-click copy."> |
| 12 | + <meta property="og:url" content="https://css-gradients.boldoutlook.com/"> |
| 13 | + <meta property="og:image" content="https://www.boldoutlook.com/content/images/size/w1200/2025/06/Bold-Outlook-Favicon.png"> |
| 14 | + <meta name="twitter:card" content="summary_large_image"> |
| 15 | + <meta name="twitter:title" content="CSS Gradients by Bold Outlook"> |
| 16 | + <meta name="twitter:description" content="Search, preview, and copy CSS gradients in a cleaner, more visual experience."> |
| 17 | + <link rel="canonical" href="https://css-gradients.boldoutlook.com/"> |
5 | 18 | <link rel="icon" href="https://www.boldoutlook.com/content/images/size/w256h256/2025/06/Bold-Outlook-Favicon.png" type="image/png"> |
6 | | - <title>CSS Gradients</title> |
| 19 | + <title>CSS Gradients by Bold Outlook</title> |
7 | 20 | <link rel="stylesheet" href="./style.css"> |
8 | | - <!-- Google tag (gtag.js) --> |
| 21 | + <script type="application/ld+json"> |
| 22 | + { |
| 23 | + "@context": "https://schema.org", |
| 24 | + "@type": "CollectionPage", |
| 25 | + "name": "CSS Gradients by Bold Outlook", |
| 26 | + "description": "A searchable collection of CSS gradients with visual previews and copy-ready CSS.", |
| 27 | + "url": "https://css-gradients.boldoutlook.com/", |
| 28 | + "publisher": { |
| 29 | + "@type": "Organization", |
| 30 | + "name": "Bold Outlook", |
| 31 | + "url": "https://www.boldoutlook.com/" |
| 32 | + } |
| 33 | + } |
| 34 | + </script> |
9 | 35 | <script async src="https://www.googletagmanager.com/gtag/js?id=G-X1B0Q53PK1"></script> |
10 | 36 | <script> |
11 | 37 | window.dataLayer = window.dataLayer || []; |
12 | 38 | function gtag(){dataLayer.push(arguments);} |
13 | 39 | gtag('js', new Date()); |
14 | | - |
15 | 40 | gtag('config', 'G-X1B0Q53PK1'); |
16 | 41 | </script> |
17 | | - <!-- Google AdSense --> |
18 | | - <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2079625064533995" |
19 | | - crossorigin="anonymous"></script> |
| 42 | + <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2079625064533995" crossorigin="anonymous"></script> |
20 | 43 | </head> |
21 | 44 | <body> |
22 | | -<header> |
| 45 | + <a class="skip-link" href="#main-content">Skip to content</a> |
| 46 | + |
| 47 | + <header class="site-header"> |
| 48 | + <div class="container hero"> |
| 49 | + <div class="hero-copy"> |
| 50 | + <p class="eyebrow"><a href="https://www.boldoutlook.com" title="Bold Outlook">Bold Outlook</a> resource</p> |
23 | 51 | <h1>CSS Gradients</h1> |
24 | | - <p>A collection of visually appealing gradients.</p> |
25 | | - </header> |
26 | | - <main> |
27 | | - <section class="library" id="gradient-collection"> |
28 | | - <div class="gradient-grid" id="gradientGrid"></div> |
29 | | - </section> |
30 | | - </main> |
31 | | -<footer> |
32 | | - <p>© 2024-2025 <a href="https://www.boldoutlook.com/">Bold Outlook</a>. All rights reserved.</p> |
33 | | - </footer> |
34 | | - <script src="./script.js"></script> |
| 52 | + <p class="hero-text">Explore a curated gradient library for interfaces, landing pages, backgrounds, and digital products. Preview each gradient instantly and copy production-ready CSS with one click.</p> |
| 53 | + <div class="hero-meta" aria-label="Library details"> |
| 54 | + <span class="meta-pill"><strong id="gradient-total">0</strong> gradients</span> |
| 55 | + <span class="meta-pill">Ready-to-copy CSS</span> |
| 56 | + <span class="meta-pill">Search by hex or keyword</span> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + <aside class="hero-card"> |
| 60 | + <h2>Quick tip</h2> |
| 61 | + <p>Use the search bar to find gradients by color code or gradient type, then copy the full CSS declaration directly into your project.</p> |
| 62 | + </aside> |
| 63 | + </div> |
| 64 | + </header> |
| 65 | + |
| 66 | + <main id="main-content"> |
| 67 | + <section class="controls-wrap"> |
| 68 | + <div class="container controls" role="search" aria-label="Gradient search and filters"> |
| 69 | + <label class="search-field" for="gradient-search"> |
| 70 | + <span class="search-label">Search gradients</span> |
| 71 | + <input id="gradient-search" type="search" placeholder="Search by hex, linear-gradient, or color values" autocomplete="off"> |
| 72 | + </label> |
| 73 | + <div class="toolbar-actions"> |
| 74 | + <button id="clear-search" type="button" class="button">Clear</button> |
| 75 | + <button id="toggle-view" type="button" class="button" aria-pressed="false">Compact view</button> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + </section> |
| 79 | + |
| 80 | + <section class="container results-bar" aria-live="polite"> |
| 81 | + <p id="results-count">Showing 0 gradients</p> |
| 82 | + </section> |
| 83 | + |
| 84 | + <section class="container library-section"> |
| 85 | + <div id="empty-state" class="empty-state" hidden> |
| 86 | + <h2>No gradients found</h2> |
| 87 | + <p>Try a different hex code or clear the search to browse the full collection.</p> |
| 88 | + </div> |
| 89 | + <div class="gradient-grid" id="gradientGrid" aria-label="CSS gradient library"></div> |
| 90 | + </section> |
| 91 | + </main> |
| 92 | + |
| 93 | + <footer class="site-footer"> |
| 94 | + <div class="container footer-inner"> |
| 95 | + <p>CSS Gradients by <a href="https://www.boldoutlook.com/">Bold Outlook</a>.</p> |
| 96 | + <p class="footer-note"></p> |
| 97 | + </div> |
| 98 | + </footer> |
35 | 99 |
|
| 100 | + <div id="copied-alert" class="alert-box" role="status" aria-live="polite" hidden></div> |
| 101 | + <script src="./script.js"></script> |
36 | 102 | </body> |
37 | 103 | </html> |
0 commit comments