diff --git a/11. Foundation/README.md b/11. Foundation/README.md index a1e8b02..5960c71 100644 --- a/11. Foundation/README.md +++ b/11. Foundation/README.md @@ -8,6 +8,155 @@ 1. Build Foundation using the CLI ## Describe what Foundation is + +Foundation is a front-end framework, much like Bootstrap, that aims to give you some bass styling and functionality for common elements you'll use + ## Download Foundation + +To download it: + +1. Go to https://foundation.zurb.com/ and click the "Download Foundation" button +1. You'll be taken to another page where you can select different versions of the framework +1. Choose "Download Everything" +1. Unzip the file downloaded +1. Open the `foundation-X.X.X-complete` dir in your code editor + ## Use some common Foundation elements + +Inside your downloaded directory, you'll see an index.html file which provides you lots of good examples for components you might want to use. Most notably: + +### Buttons + +```html +Simple Button +Success Btn +Alert Btn +Secondary Btn +``` + +### A Grid System + +Grid systems are great for laying out a site. Most sites adhere to a 12 vertical grid system, where the page is visually divided into 12 vertical columns (each with a gutter, or margin, between them): + + + +Each visual element can take up somewhere between 1 and 12 of these columns. This make spacing uniform across the page, and brings a sense of cohesion to the visual design. + +```html +
This is a twelve cell section in a grid-x. Each of these includes a div.callout element so you can see where the cell are - it's not required at all for the grid.
+Six cell
+Six cell
+Four cell
+Four cell
+Four cell
+Four cell
+A whole kitchen sink of goodies comes with Foundation. Check out the docs to see them all, along with details on making them your own.
+ Go to Foundation Docs +