CSS Framework Foundation

Foundation is the one of the most advanced responsive front-end frameworks.

Getting Started

Here is a simple HTML template which includes the latest compiled and minified CSS and Javascript for the Foundation library.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Foundation Template</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/foundation/6.2.1/foundation.min.css">
  </head>
  <body>
    <h1>Hello World</h1>
    <!-- Add all HTML Code here -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
    <script src="https://cdn.jsdelivr.net/foundation/6.2.1/foundation.min.js"></script>
  </body>
</html>
JSBin Demo

We have used a CDN in this example, but you can checkout other ways of installing Foundation here.

Learning Resources

  • The official documentation for Foundation is available here.
  • Checkout Foundation’s open source GitHub repository here.
  • 👉 List of Foundation Framework tutorials.
  • Checkout a series by DevTips on the Foundation Grid here.