Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <!-- Place the following CSS in your <head> or stylesheet --> <style> /* This is an optional body style to provide a background for the page */ body { background-color: #f3f4f6; font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif; } /* === Grid Container for the Cards === */ .cards-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; padding: 1.5rem; } /* === Features List Card Styles === */ .fl-card { --fl-card-radius: 12px; --fl-card-shadow: 0 4px 10px rgba(0,0,0,0.06); --fl-card-icon-color: #4f46e5; background-color: #ffffff; border-radius: var(--fl-card-radius); box-shadow: var(--fl-card-shadow); display: flex; flex-direction: column; overflow: hidden; /* Important for the button's border-radius */ } .fl-card-header { text-align: center; border-bottom: 1px solid #e5e7eb; padding: 1.75rem 1.75rem 1.5rem; } .fl-card-title { font-size: 1.375rem; font-weight: 700; margin: 0; } .fl-card-subtitle { font-size: 1rem; color: #6b7280; margin-top: 0.25rem; } /* The list of features */ .fl-features-list { list-style: none; margin: 0; padding: 1.5rem 1.75rem; display: grid; gap: 1rem; flex-grow: 1; /* Pushes the footer to the bottom */ } .fl-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 1rem; line-height: 1.5; color: #374151; } .fl-feature-item svg { width: 24px; height: 24px; color: var(--fl-card-icon-color); flex-shrink: 0; margin-top: 2px; } /* Card footer and CTA */ .fl-card-footer { margin-top: auto; /* Pushes the footer to the bottom */ padding-top: 1.5rem; } .fl-card-cta { display: block; background-color: #1f2937; color: #ffffff; font-size: 1rem; font-weight: 500; text-align: center; padding: 0.85rem 1rem; text-decoration: none; transition: background-color 0.2s ease; } .fl-card-cta:hover { background-color: #374151; } /* Style variations */ .fl-card.style-2 { --fl-card-icon-color: #16a34a; } .fl-card.style-2 .fl-card-cta { background-color: #16a34a; } .fl-card.style-2 .fl-card-cta:hover { background-color: #15803d; } .fl-card.style-3 { --fl-card-icon-color: #f97316; } .fl-card.style-3 .fl-card-cta { background-color: #f97316; } .fl-card.style-3 .fl-card-cta:hover { background-color: #ea580c; } </style> <!-- Place the following HTML in your <body> --> <div class="cards-grid-container"> <!-- Card 1 --> <article class="fl-card"> <header class="fl-card-header"> <h3 class="fl-card-title">Starter Plan</h3> <p class="fl-card-subtitle">For individuals & small projects</p> </header> <ul class="fl-features-list"> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>5 Projects</span></li> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>10 GB Cloud Storage</span></li> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>Basic Analytics</span></li> </ul> <footer class="fl-card-footer"><a href="#" class="fl-card-cta">Get Started</a></footer> </article> <!-- Card 2 --> <article class="fl-card style-2"> <header class="fl-card-header"> <h3 class="fl-card-title">Pro Plan</h3> <p class="fl-card-subtitle">For growing teams & businesses</p> </header> <ul class="fl-features-list"> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>Unlimited Projects</span></li> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>100 GB Cloud Storage</span></li> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>Advanced Analytics</span></li> <li class="fl-feature-item"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.052-.143z" clip-rule="evenodd"/></svg> <span>Priority Email Support</span></li> </ul> <footer class="fl-card-footer"><a href="#" class="fl-card-cta">Choose Pro</a></footer> </article> </div>