Foundation v6.3.0-rc1 发布了。Foundation 是一个易用、强大而且灵活的框架,用于构建基于任何设备上的 Web 应用。提供多种 Web 上的 UI 组件,如表单、按钮、Tabs 等等。
安装
To install with npm: npm install foundation-sites@6.3.0-rc1
To install with bower: bower install zurb/foundation-sites#v6.3.0-rc1
To try out with the ZURB template, git clone -b v6.3 git@github.com:zurb/foundation-zurb-template.git
迁移注释:
Flex Videos are now Responsive Embeds. Old classes and mixin names are now deprecated.
Accordion Items now MUST be labeled with data-accordion-item, they are no longer inferred from li elements.
The dist directory structure has changed. CSS files now live in dist/css, JS files in dist/js.
The default color palette has changed to be meet AA contrast requirements. This has changed both defaults and a number scss variables and functions.
In order to facilitate vertical rhythm layouts, the old $header-sizes map has been replaced with a more general $header-styles map. $header-styles map not only allows to set the font-size, but also line-height, margin-top and margin-bottom per header size and breakpoint. $header-sizesstill works, however, it is going to be depreciated. If $header-sizes is present in your _settings.scss it overrides any $header-styles map.
新组件
Cards
Responsive Accordion Tabs
增强
Completely reworked Off Canvas
Mutation Observers! (components like tabs and equalizer automatically adjusting when their content changes)
Vertical Rhythm Support
Improved Print Style Control
Autoresizing Drilldowns
Deep linking to tabs
软件详情:https://github.com/zurb/foundation-sites/releases/tag/v6.3.0-rc1
下载地址:http://foundation.zurb.com/sites/download.html/
来自:开源中国社区

