Install | Documentation | Releases | Contributing
Foundation is the most advanced responsive front-end framework in the world. Quickly go from prototype to production, building sites or apps that work on any kind of device with Foundation. Includes a fully customizable, responsive grid, a large library of Sass mixins, commonly used JavaScript plugins, and full accessibility support.
Run locally
Documentation
To run the documentation locally on your machine, you need Node.js installed on your computer. (Your Node.js version must be 12 or 14). Run these commands to set up the documentation:
# Install
git clone https://github.com/foundation/foundation-sites
cd foundation-sites
yarn
# Start the documentation
yarn start
Testing
Foundation has three kinds of tests: JavaScript, Sass, and visual regression. Refer to our testing guide for more details.
Run tests with:
# Sass unit tests
yarn test:sass
# JavaScript unit tests
yarn test:javascript:units
# Visual tests
yarn test:visual
Contributing
Check out CONTRIBUTING.md to see how to report an issue or submit a bug fix or a new feature, and our contributing guide to learn how you can contribute more globally to Foundation. You can also browse the Help Wanted tag in our issue tracker to find things to do.
Testing powered by
BrowserStack Open-Source Program
Copyright Β© 2020 Foundation Community
F6 Wishlist
Will add more Edit: Added accessibility
Dropdown alignment
Foundation 5.2 has the fancy option to direct dropdowns to the sides and top, but this issue is about something else. It's about the side used as an alignment for the dropdowns (or dropups, etc.), when it expands. There already is a feature request which explains it: #2423, but that was closed because there was also issue #3949, but like I said, that's about two different things. There were even two pull requests for the feature: #2905 and #3260. The latter even got merged into stable by @mhayes, but somehow got lost before it got to a real release. I'm bringing this up again now because 5.2 has been released and therefore #3949 has been closed.
Combined with the new feature from #3949, this would give a total of 12 different positions possible for the dropdowns/ups/lefts/rights.
Sorry for my sloppy English, it seems I have not fully woken up yet today.
[Foundation Future] Discussion on Grid's Future ( Flex/Float/Spec - Margin/Padding )
https://github.com/zurb/foundation-sites/wiki/Project-Roadmap#other-things-to-investigateschedule
CSS Grids has landed a week back first in firefox, and then in chrome, safari and opera
I am opening this thread for the discussion on this awesome layout monster! ( This might be very soon, but better to be early than late! )
Quick Overview => https://www.slideshare.net/rachelandrew/talk-web-design-css-grid-layout
Complete Guide => https://webkit.org/blog/7434/css-grid-layout-a-new-layout-module-for-the-web/
Grid by example => http://gridbyexample.com/
What mozilla says => https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout/CSS_Grid_and_Progressive_Enhancement
Yes or no to IE and its old spec => https://rachelandrew.co.uk/archives/2016/11/26/should-i-try-to-use-the-ie-implementation-of-css-grid-layout/
Feature Queries => https://hacks.mozilla.org/2016/08/using-feature-queries-in-css/
Update: Well its so co-incidental ..... that when i posted this thread, Zurb was already working on this on a youtube video :smiling_imp: => https://youtu.be/bI1wNuvuFxo
Maybe its because both zurb and community wants the advancements! Right ??
Feature #9592: CSS Dropcaps, v6
Implementation for: #9592 Forwarded from: #9606 ( Due to branching issue )
This adds a new feature CSS Dropcaps, Simply use a dropcaps class in any html tag and the first letter of the text collection will grow to a bigger size proportionate to
3 normal lines
and is as similar to what is found in magazines and the modern web@ncoden @kball for review
Update: Here is the updated code from the below humongous code discussion b/w me & Nicolas
The Source Code behind all of this -
_dropcaps.scss
Generated CSS
And, the output (Helvetica font)
Mobile output
Desktop output
[XY Grid] Foundation 7 - 2 Dimensional Grid System - Using Feature Queries/CSS Grid and discussion on whether to fully DROP IE or not?
I know there are some who have proposed to let user code CSS Grid But here is what i think,
For Foundation 7, It has been decided to drop support for IE9 & IE10 ... I propose to drop support for IE11 also. Whoever need to support IE, should use foundation 6
What are the benefits ??
Well we can use feature queries combining css grid with fallback to flex grid.
Browser Support
Feature Queries : http://caniuse.com/#feat=css-featurequeries CSS Grid: http://caniuse.com/#feat=css-grid
=> Let's Make the web Great again!
Custom Download for F6 - Issues...
From what I can tell there isn't a way to select and use the Flexbox grid if you use the Custom Download tool.
Am I missing something and there is there a way to do this?
If not, this option needs to be available.
List of issues with the Customizer and Customizer Page:
SyntaxError: function statement requires a name templates.js:1:8
Data error in 'custom-f6\app.css'. File is broken
. Other files appear okay.foundation.css
#7520 #7702foundation.css
file #7819$warning-color
#7858Flex Grid 2.0
This is my vision of a brand new flex grid, based on a lot of research and input from some very knowledgeable people π
The aim:
It's still very much work in progress, but I would appreciate feedback on whats present so far.
Things to decide on:
.grid
and.cell
There are probably more things which I've forgotten, but wanted to get this up for people to look at π
A LESS version!
I've seen that a LESS version of the css is (possibly) in the works as of three months ago, any news on that? A LESS version of the foundation system would be amazing.
Full-height columns
In the comments to Issue#25, Chaddeus left a comment about creating full-height columns. In other words, columns should automatically adjust to the height of the longest column in that row.
https://github.com/zurb/foundation/issues/25
The issue is easy to see when you have a div.panel inside two or more columns of unequal length.
This is the very first thing I wanted to do in Foundation. Before I tried to put together a solution based on Chad's suggested method (http://bit.ly/r1DsEy), I wanted to see if anyone else has already done this or incorporated this.
Thanks in advance!
Is Zurb Foundation in active development?
I have not seen a new pull request go through since Jan 2019. Is Foundation still in active development? I just want to know before I use on a few new projects.
Thanks in advance.
Problems while importing foundation js in webpack.
I would like to import some foundation js files in a webpack app.
In my entry js file I do the following:
The last one fails with the following error:
So it seems there is a problem with all files that contain the code
define(['foundation'] ...
asfoundation
is not defined anywhere.I installed
foundation-sites
(v6.0.5) using NPM.How do I import those files that have the
define(['foundation']
correctly?build(deps): bump json5 from 1.0.1 to 1.0.2
Bumps json5 from 1.0.1 to 1.0.2.
Release notes
Sourced from json5's releases.
Changelog
Sourced from json5's changelog.
... (truncated)
Commits
a62db1e
1.0.2e0c23fe
docs: update CHANGELOG for v1.0.262a6540
fix: add proto to objects and arraysDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.
feat: add focus behavior to switch
Description
The switch element do not change on keyboard events. For example buttons have outline and their color scaled on focus.
Changes
Types of changes
Checklist
develop
ordevelop-v...
).Why is Foundation media queries not working when i use a breakpoint name?
For example:
.header-first, .header-second { @include breakpoint(medium) { background: $cerulean; } }
compiles to the below where the name of the breakpoint is added but not the size of 640px as in the _settings.scss:
@media (min-width: medium) { .header .header-first, .header .header-second { background: #0098db;} }
I have tested that _settings.scss is working by customizing other components. I have also tested that the JS is working with:
console.log('Current: ' + Foundation.MediaQuery.current)
Any hints on what going on?
Originally posted by @mannclay in https://github.com/foundation/foundation-sites/discussions/12516
When will foundation 7 be released.
Is foundation 7 still in the works as promised two years ago in the roadmap. Should we consider the project suspended? I love foundation but I am really concerned about its future. π€
build(deps): bump decode-uri-component from 0.2.0 to 0.2.2
Bumps decode-uri-component from 0.2.0 to 0.2.2.
Release notes
Sourced from decode-uri-component's releases.
Commits
a0eea46
0.2.2980e0bf
Prevent overwriting previously decoded tokens3c8a373
0.2.176abc93
Switch to GitHub workflows746ca5d
Fix issue where decode throws - fixes #6486d7e2
Update license (#1)a650457
Tidelift tasks66e1c28
Meta tweaksDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labels
will set the current labels as the default for future PRs for this repo and language@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.