Newest âź· Oldest
  1. Snapshot at 2017-04-19

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    Foundation website

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Push and pull column
    7. Flex video
    8. Off canvas

    Foundation is a CSS framework that’s built for the, well, foundation of any website. It includes a solid grid system, different interface components. And most importantly, it is mobile first.

    There are Foundation for Sites and Foundation for HTML Email. What we focus here is the "Sites" part.

    Foundation Sites and Email

    Kitchen sink

    The Foundation’s kitchen sink page shows everything that Foundation can do.

    It is also the document site for Foundation.

    Setting up Foundation

    The easiest way to start using Foundation is to use their CDN version in your code project.

    https://cdnjs.com/libraries/foundation
    

    Using Foundation in Codepen

    Alternatively, you may use Codepen to quickly try out Foundation.

    I recorded a video on this topic.

    https://vimeo.com/makzan/using-foundation-in-codepen

    Downloading Foundation

    To download Foundation, there are 4 ways: Full package, Essential, Custom, SASS source.

    Foundation download page

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    Customizing Foundation

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

  2. Snapshot at 2017-04-12

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    Foundation website

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Foundation is a CSS framework that’s built for the, well, foundation of any website. It includes a solid grid system, different interface components. And most importantly, it is mobile first.

    There are Foundation for Sites and Foundation for HTML Email. What we focus here is the "Sites" part.

    Foundation Sites and Email

    Kitchen sink

    The Foundation’s kitchen sink page shows everything that Foundation can do.

    It is also the document site for Foundation.

    Setting up Foundation

    The easiest way to start using Foundation is to use their CDN version in your code project.

    https://cdnjs.com/libraries/foundation
    

    Using Foundation in Codepen

    Alternatively, you may use Codepen to quickly try out Foundation.

    I recorded a video on this topic.

    https://vimeo.com/makzan/using-foundation-in-codepen

    Downloading Foundation

    To download Foundation, there are 4 ways: Full package, Essential, Custom, SASS source.

    Foundation download page

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    Customizing Foundation

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

  3. Snapshot at 2017-04-12

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    Foundation website

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Foundation is a CSS framework that’s built for the, well, foundation of any website. It includes a solid grid system, different interface components. And most importantly, it is mobile first.

    There are Foundation for Sites and Foundation for HTML Email. What we focus here is the "Sites" part.

    Foundation Sites and Email

    Kitchen sink

    The Foundation’s kitchen sink page shows everything that Foundation can do.

    It is also the document site for Foundation.

    Setting up Foundation

    The easiest way to start using Foundation is to use their CDN version in your code project.

    https://cdnjs.com/libraries/foundation
    

    Using Foundation in Codepen

    Alternatively, you may use Codepen to quickly try out Foundation.

    I recorded a video on this topic.

    https://vimeo.com/makzan/using-foundation-in-codepen
    

    Downloading Foundation

    To download Foundation, there are 4 ways: Full package, Essential, Custom, SASS source.

    Foundation download page

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    Customizing Foundation

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

  4. Snapshot at 2017-04-12

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    Foundation website

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Foundation is a CSS framework that’s built for the, well, foundation of any website. It includes a solid grid system, different interface components. And most importantly, it is mobile first.

    There are Foundation for Sites and Foundation for HTML Email. What we focus here is the "Sites" part.

    Foundation Sites and Email

    Kitchen sink

    The Foundation’s kitchen sink page shows everything that Foundation can do.

    It is also the document site for Foundation.

    Setting up Foundation

    The easiest way to start using Foundation is to use their CDN version in your code project.

    https://cdnjs.com/libraries/foundation
    

    Using Foundation in Codepen

    Alternatively, you may use Codepen to quickly try out Foundation.

    I recorded a video on this topic.

    https://vimeo.com/makzan/using-foundation-in-codepen
    

    Downloading Foundation

    To download Foundation, there are 4 ways: Full package, Essential, Custom, SASS source.

    Foundation download page

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    Customizing Foundation

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

  5. Snapshot at 2017-04-12

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    Foundation website

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Foundation is a CSS framework that’s built for the, well, foundation of any website. It includes a solid grid system, different interface components. And most importantly, it is mobile first.

    There are Foundation for Sites and Foundation for HTML Email. What we focus here is the "Sites" part.

    Foundation Sites and Email

    Kitchen sink

    The Foundation’s kitchen sink page shows everything that Foundation can do.

    It is also the document site for Foundation.

    Setting up Foundation

    The easiest way to start using Foundation is to use their CDN version in your code project.

    https://cdnjs.com/libraries/foundation
    

    Alternatively, you may use Codepen to quickly try out Foundation.

    Downloading Foundation

    To download Foundation, there are 4 ways: Full package, Essential, Custom, SASS source.

    Foundation download page

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    Customizing Foundation

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

  6. Snapshot at 2017-04-12

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Foundation Docs

    http://foundation.zurb.com/sites/docs/

    Setting up Foundation

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    In this chapter, we will use the full library.

    1. Go to the Foundation website.
    2. Choose “Download Foundation”
    3. Then choose “Download Everything”

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

    Later in the preprocessing chapter, we will learn the option to customise the framework locally in the development machine.

    Here you can find the list of the files we get and their purposes from Foundation package.

    This is the suggested HTML setup by Zurb.

    <!DOCTYPE html>
    <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
    <html class="no-js" lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
      <script src="js/vendor/modernizr.js"></script>
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we don’t need the modernizr, we can use the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we just need the CSS part and not using any of the JavaScript depended component, we can further trim the code into the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
    </body>
    </html>
    
  7. Snapshot at 2017-04-12

    📖 Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Foundation Docs

    http://foundation.zurb.com/sites/docs/

    Setting up Foundation

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    In this chapter, we will use the full library.

    1. Go to the Foundation website.
    2. Choose “Download Foundation”
    3. Then choose “Download Everything”

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

    Later in the preprocessing chapter, we will learn the option to customise the framework locally in the development machine.

    Here you can find the list of the files we get and their purposes from Foundation package.

    This is the suggested HTML setup by Zurb.

    <!DOCTYPE html>
    <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
    <html class="no-js" lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
      <script src="js/vendor/modernizr.js"></script>
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we don’t need the modernizr, we can use the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we just need the CSS part and not using any of the JavaScript depended component, we can further trim the code into the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
    </body>
    </html>
    
  8. Snapshot at 2017-04-11

    📖 Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Setting up Foundation

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    In this chapter, we will use the full library.

    1. Go to the Foundation website.
    2. Choose “Download Foundation”
    3. Then choose “Download Everything”

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

    Later in the preprocessing chapter, we will learn the option to customise the framework locally in the development machine.

    Here you can find the list of the files we get and their purposes from Foundation package.

    This is the suggested HTML setup by Zurb.

    <!DOCTYPE html>
    <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
    <html class="no-js" lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
      <script src="js/vendor/modernizr.js"></script>
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we don’t need the modernizr, we can use the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we just need the CSS part and not using any of the JavaScript depended component, we can further trim the code into the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
    </body>
    </html>
    
  9. Snapshot at 2017-04-11

    Chapter 3—Using Zurb Foundation

    The modern CSS framework.

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Setting up Foundation

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    In this chapter, we will use the full library.

    1. Go to the Foundation website.
    2. Choose “Download Foundation”
    3. Then choose “Download Everything”

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

    Later in the preprocessing chapter, we will learn the option to customise the framework locally in the development machine.

    Here you can find the list of the files we get and their purposes from Foundation package.

    This is the suggested HTML setup by Zurb.

    <!DOCTYPE html>
    <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
    <html class="no-js" lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
      <script src="js/vendor/modernizr.js"></script>
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we don’t need the modernizr, we can use the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we just need the CSS part and not using any of the JavaScript depended component, we can further trim the code into the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
    </body>
    </html>
    
  10. Snapshot at 2017-04-11

    Chapter 3: Using Zurb Foundation

    The modern CSS framework.

    1. Quick starting Zurb Foundation on Codepen
    2. Setting up Foundation
    3. Foundation grid
    4. Block grid
    5. Interchangable content
    6. Centered column
    7. Push and pull column
    8. Flex video
    9. Foundation topbar
    10. Off canvas

    Setting up Foundation

    Foundation is a library with both css and javascript code.

    If we don’t use any components that required javascript, we can omit the javascript part and just include the css.

    In this chapter, we will use the full library.

    1. Go to the Foundation website.
    2. Choose “Download Foundation”
    3. Then choose “Download Everything”

    If you need to customise the layout or the framework variable, you can customise the variables in their download page before downloading. The website will compile the custom build for us.

    Later in the preprocessing chapter, we will learn the option to customise the framework locally in the development machine.

    Here you can find the list of the files we get and their purposes from Foundation package.

    This is the suggested HTML setup by Zurb.

    <!DOCTYPE html>
    <!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
    <html class="no-js" lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
      <script src="js/vendor/modernizr.js"></script>
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we don’t need the modernizr, we can use the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
      <script src="js/vendor/jquery.js"></script>
      <script src="js/foundation.min.js"></script>
      <script>
        $(document).foundation();
      </script>
    </body>
    </html>
    

    If we just need the CSS part and not using any of the JavaScript depended component, we can further trim the code into the following:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Foundation 5</title>
    
      <!-- You may add app.css to use for your overrides if you like -->
      <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/foundation.css">
    
    </head>
    <body>
    
      <!-- body content here -->
    
    </body>
    </html>