Get started with foundation CDN

MIT licensed

Foundation: Build responsive sites with HTML, CSS, JS.

Tags:
  • foundation
  • responsive
  • zurb

Stable version

Copied!

How to start using foundation CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with foundation CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css">
  <script src="https://cdn.cdnhub.io/foundation/6.8.1/js/foundation.min.js"></script>
  <script>
    document.addEventListener('DOMContentLoaded', function() {
      Foundation.init();
    });
  </script>
</head>
<body>
  <header class="top-bar" data-topbar>
    <div class="top-bar-left">
      <button class="menu-icon" id="menu-icon" data-toggle="menu"></button>
      <span class="name">Foundation</span>
    </div>
    <div class="top-bar-right">
      <ul class="dropdown menu">
        <li><a href="#">Home</a></li>
        <li><a href="#">Features</a></li>
        <li><a href="#">Pricing</a></li>
      </ul>
    </div>
  </header>

  <nav id="menu" class="menu">
    <h1>Menu</h1>
    <ul class="menu-list">
      <li><a href="#">Home</a></li>
      <li><a href="#">Features</a></li>
      <li><a href="#">Pricing</a></li>
    </ul>
  </nav>

  <main class="content">
    <h1>Welcome to Foundation</h1>
    <p>This is an example using Foundation 6.8.1 with the provided CDN link.</p>
  </main>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!

All versions