Blueprint 是一个 CSS 框架,它的目的是减少你的css开发时间

网友投稿 844 2022-11-03

Blueprint 是一个 CSS 框架,它的目的是减少你的css开发时间

Blueprint 是一个 CSS 框架,它的目的是减少你的css开发时间

Blueprint CSS Framework Readme

Welcome to Blueprint! This is a CSS framework designed to cut down on your CSS development time. It gives you a solid foundation to build your own CSS on. Here are some of the features BP provides out-of-the-box:

An easily customizable gridSensible default typographyA typographic baselinePerfected browser CSS resetA stylesheet for printingPowerful scripts for customizationAbsolutely no bloat!

Project Info

Web: http://blueprintcss.orgSource: http://github.com/joshuaclayton/blueprint-cssWiki: http://github.com/joshuaclayton/blueprint-css/wikis/homeBug/Feature Tracking: http://blueprintcss.lighthouseapp.com

Setup Instructions

Here’s how you set up Blueprint on your site.

Upload the “blueprint” folder in this folder to your server, and place it in whatever folder you’d like. A good choice would be your CSS folder.Add the following three lines to every of your site. Make sure the three href paths are correct (here, BP is in my CSS folder): Remember to include trailing slashes (" />") in these lines if you’re using XHTML.For development, add the .showgrid class to any container or column to see the underlying grid. Check out the plugins directory for more advanced functionality.

Tutorials

How to customize BP with the compressor scriptHow to use a grid in a layoutHow to use a baseline in your typography

Files in Blueprint

The framework has a few files you should check out. Every file in the src directory contains lots of (hopefully) clarifying comments.

Compressed files (these go in the HTML):

blueprint/screen.cssblueprint/print.cssblueprint/ie.css

Source files:

blueprint/src/reset.css This file resets CSS values that browsers tend to set for you.blueprint/src/grid.css This file sets up the grid (it’s true). It has a lot of classes you apply to

elements to set up any sort of column-based grid.blueprint/lib/blueprint/grid.css.erb This file is used by the compressor (see below) when generating grids. All changes to grid.css are mirrored in this file, manually.blueprint/src/typography.css This file sets some default typography. It also has a few methods for some really fancy stuff to do with your text.blueprint/src/forms.css Includes some minimal styling of forms.blueprint/src/print.css This file sets some default print rules, so that printed versions of your site looks better than they usually would. It should be included on every page.blueprint/src/ie.css Includes every hack for our beloved IE6 and 7.

Scripts:

lib/compress.rb A Ruby script for compressing and customizing your CSS. Set a custom namespace, column count, widths, output paths, multiple projects, and semantic class names. See commenting in compress.rb or run $ruby compress.rb -h for more information.lib/validate.rb Validates the Blueprint core files with the W3C CSS validator.

Other:

blueprint/plugins/ Contains additional functionality in the form of simple plugins for Blueprint. See individual readme files in the directory of each plugin for further instructions.tests/ Contains html files which tests most aspects of Blueprint. Open tests/index.html for further instructions.

Extra Information

For credits and origins, see AUTHORS.For license instructions, see LICENSE.For the latest updates, see CHANGELOG.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:springboot创建文件夹失败的解决
下一篇:springboot整合minio实现文件上传与下载且支持链接永久访问
相关文章

 发表评论

暂时没有评论,来抢沙发吧~