CSS 框架

CSS框架之一 YAML


大家比较熟悉的是js框架,例如prototype、jQuery呀。其实XHTML+CSS也是有框架的,最著名的可能就是YUI了,是yahoo开发 小组的。但是那个稍微有点庞大,而且牵扯到一些的JS框架。所以刚开始研究的时候可能稍微有点累。而这个yaml就比较单纯了。可能是现在还在发展初期所 以框架很简单,东西不多,对XHMTL+CSS框架感兴趣的可以去看看哦。在国内好像还没有那个朋友在做这个东西,如果你有兴趣,自己钻研一下说不定中国 的CSS框架之祖就是你了哦。呵呵。。
网址:http://www.yaml.de/en/ 里面有源码,开发文档以及一些使用此框架搭建的页面实例。

CSS框架之二 blueprintcss

Features:

An easily customizable grid
Sensible typography
Relative font-sizes everywhere
A typographic baseline
An extendable plugin system
Perfected CSS reset
A stylesheet for printing
Compressed version
No bloat of any kind
CSS框架之三 Elements
一、什么是Elements
Elements是一款纯净的CSS框架,可以帮助设计师快速高效率的书写css文档。你可以将他理解成一套模板,里面包含了大多数站点中所需要的那些css类。他很小,只有四个文件而已。总共不到6KB。

二、这四个文件分别是做什么用?
Elements.css 归纳了一些站点css中常用的css类
Reset 对一些常用的html标签进行预设。例如html, body, div, span, applet, h1, h2, h3, h4, h5, h6....等等。
Typography 文字排版常用标签的预设。例如body,ul,ol,dl,td,th,caption,pre,p,blockquote,input,textarea等
External Links 对于各种文档形式的链接的预设。这个东西很早已经有人单独提出过。


三、如何使用Elements CSS框架?

<link rel="stylesheet" type="text/css" href="/css/elements/elementsImport.css" />
大家可能注意到上面的图片中有5个css文件,其中的elementsImport.css只是将其他的四个css文件分别导入进来。

 

Elements框架也许并不一定适合我们的站点开发,但是通过它我们可以找到一种好的架构方式。如果你经常会和css打交道,不论你是在做企业站还是门户站,好好的整理一下你以前的文档,根据你的需求制定自己的CSS框架,会很大程度上的提高你的开发效率。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
很好用的CSS,960 Grid System Version 1.5 2010-05-11 Created by Nathan Smith. See the official site for more info: http://960.gs/ ============================================================================ Thank you for downloading the 960 Grid System. I hope it helps to streamline web development workflow. Enclosed in the bundle are printable sketch sheets and template files for Adobe Fireworks and Photoshop, OmniGraffle and Visio. Also included is a lightweight CSS file, which contains the grid dimensions. To use this file, simply include the 960.css in the <head> of the HTML page. You may also use the reset.css and text.css files, or opt to leave them out. Here is an example of the XHTML code necessary to incorporate the CSS files: <head> <link rel="stylesheet" type="text/css" media="all" href="css/reset.css" /> <link rel="stylesheet" type="text/css" media="all" href="css/text.css" /> <link rel="stylesheet" type="text/css" media="all" href="css/960.css" /> </head> It is worth noting that these styles do not automatically make up a finished site design. They are simply a starting point, ideally for rapid prototyping or as a basis for creating your own designs. You should not feel constrained by the way I have built the initial code. If you disagree with how something has been done, feel free to revise it for the needs of your particular site. The files in the 960 Grid System are free of charge, licensed under GPL/MIT. ============================================================================ Note that if you are building a site in a language which reads from right to left, use the CSS files that begin with "rtl_" instead. Denote the language: <html lang="..." dir="rtl"> Be sure to replace "..." with the appropriate two-letter abbreviation of the language you are using. Example: lang="he" for Hebrew, lang="ar" for Arabic. ============================================================================ Special thanks to Eric Meyer for his comprehensive browser reset stylesheet. http://meyerweb.com/eric/tools/css/reset/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值