yahoo/purecss
Composer 安装命令:
composer require yahoo/purecss
包简介
Pure is a ridiculously tiny CSS library you can use to start any web project.
README 文档
README
A set of small, responsive CSS modules that you can use in every web project. https://purecss.io/
Features
Pure is a starting point for every website or web app. We take care of all the CSS work that every site needs without making it look cookie-cutter:
-
A responsive grid that can be customized to your needs.
-
A solid base built on Normalize.css to fix cross-browser compatibility issues.
-
Consistently styled buttons that work with
<a>and<button>elements. -
Styles for vertical and horizontal menus, including support for dropdown menus.
-
Useful form alignments that look great on all screen sizes.
-
Various common table styles.
-
An extremely minimalist look that is super-easy to customize.
-
Responsive by default, with a non-responsive option.
-
Extremely small file size: 3.7KB minified + gzip.
Get Started
Check out the Get Started page for more information.
Build From Source
Optionally, you can build Pure from its source on Github. To do this, you'll need to have Node.js and npm installed. We use Grunt to build Pure.
git clone git@github.com:pure-css/pure.git
cd pure
npm install
grunt
Build Files
Now, all Pure CSS files should be built into the pure/build/ directory. All
files that are in this build directory are also available on the CDN. The naming
conventions of the files in the build/ directory follow these rules:
-
[module]-core.css: The minimal set of styles, usually structural, that provide the base on which the rest of the module's styles build. -
[module]-nr.css: Rollup of[module]-core.css+[module].css+[module]-[feature].cssfrom thesrc/[module]/dir. This is the non-responsive version of a module. -
[module].css: Rollup of[module]-nr.css+[module]-r.cssfrom thebuild/dir. This is the responsive version of a module. -
*-min.css: A minified file version of the files of the same name. -
pure.css: A rollup of all[module].cssfiles in thebuild/dir. This is a responsive roll-up of everything, non-minified. Note: does not contain responsive grids with @media queries. -
pure-min.css: Minified version ofpure.cssthat should be used in production. -
pure-nr.css: A Rollup of all modules without @media queries. This is a non-responsive roll-up of everything, non-minified. -
pure-nr-min.css: Minified version ofpure-nr.cssthat should be used in production. -
grids-responsive.css: Unminified version of Pure's grid stylesheet which includes @media queries. -
grids-responsive-min.css: Minified version ofgrids-responsive.cssthat should be used in production.
Browser Support and Testing
Pure is tested and works in:
- Latest Stable: Firefox, Chrome, Safari
Docs and Website
Pure's website is located in the site directory. Please feel free
to open issues or questions in the Issue tab.
Contributing
See the CONTRIBUTING file for information on how to contribute to Pure.
License
This software is free to use under the Yahoo! Inc. BSD-3-Clause license. See the LICENSE file for license text and copyright information.
yahoo/purecss 适用场景与选型建议
yahoo/purecss 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 772 次下载、GitHub Stars 达 23.73k, 最近一次更新时间为 2017 年 01 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「css」 「web」 「responsive」 「yahoo」 「pure」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 yahoo/purecss 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 yahoo/purecss 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 yahoo/purecss 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
A Twig extension to insert css as inline styles with a tag
Caching and compression for Twig assets (JavaScript and CSS).
Model of a web-based resource
Retrieve a WebResourceInterface instance over HTTP
Define your own css rule-sets for the TYPO3 CMS backend.
统计信息
- 总下载量: 772
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 23732
- 点击次数: 26
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-01-07
