论坛首页 Web前端技术论坛

推荐一个新的css框架Elastic

浏览 6713 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2012-01-14  
CSS

隆重为大家介绍css 框架的后起之秀:Elastic CSS Framework ,该框架的项目地址:http://elasticss.com/
,与BluePrint等框架的不同,Elastic CSS框架允许设定自由宽度的区域,这样对于设计应用程序类的人就比较适用了,像960等css框架并不能很好的利用宽屏大显示器的空白区域,这个Elastic框架就是用在这种场景下的。下面是官方的区别介绍:

 
What are the differences between Elastic and other frameworks
Elastic CSS Framework defines a declarative language to make layouts, for example: two-columns, fixed-column, column. Other frameworks use more cryptic names like col1of3 or e30

Most frameworks are based on a grid system(Blueprint, 960gs, Tripoli). Elastic CSS Framework is a freestyle framework you can mix and nest any number of columns, you can even mix any number of columns, fixed-columns, and elastic-columns

Elastic CSS Framework provides a set of helper classes, to accomplish hard things by pure CSS like: same-height, full-width, and vertical-center

Elastic CSS Framework is designed so you can mix classes to accomplish complex layouts, recent frameworks are doing this too (OOCSS)

Elastic CSS Framework does not impose any rule on the size of your layout, subpixel rounding problems come to the game, Elastic provides a predictable, and consistent method to deal with this,(OOCSS has a method for subpixel rounding too) But both frameworks have taken different approaches to this problem.

Elastic has integrated clearfix, so there is no need to do clearfix manually when making a layout. Most other frameworks require that the developer handle this, making it more difficult to change, and learn

Elastic clearfix method is not intrusive, it does not require extra markup, and don’t use overlfow:hidden to accomplish it. So you can position relative or absolute like if your where not using clearfix at all.

Some frameworks require that the developer use a class ‘last’, to let the framework know that a block is ended, Elastic handles this situation automatically, making it easier to learn and code.

Many frameworks are designed to make fixed with layouts, others to make liquid layouts, and some recent frameworks are offering mixed solutions. Elastic lets you to handle liquid, fixed, and elastic layouts, and even mix this techniques in the same layout.

Elastic is the first framework to provide a set of snippets to event make development faster in the form of snippets, currently there is a bundle for gedit, textmate and coda.

Elastic is not designed only for page layouts, you can layout widgets, and complex web-based applications too, and use it almost in anything related to html.

 

 

   发表时间:2012-01-18  
翻 墙测试 
0 请登录后投票
   发表时间:2012-01-19  
楼主即然有心介绍,何必一大串原文引用喃?
看不懂啊
0 请登录后投票
   发表时间:2012-01-19  
peihexian 写道

隆重为大家介绍css 框架的后起之秀:Elastic CSS Framework ,该框架的项目地址:http://elasticss.com/
,与BluePrint等框架的不同,Elastic CSS框架允许设定自由宽度的区域,这样对于设计应用程序类的人就比较适用了,像960等css框架并不能很好的利用宽屏大显示器的空白区域,这个Elastic框架就是用在这种场景下的。下面是官方的区别介绍:

 
What are the differences between Elastic and other frameworks
Elastic CSS Framework defines a declarative language to make layouts, for example: two-columns, fixed-column, column. Other frameworks use more cryptic names like col1of3 or e30

Most frameworks are based on a grid system(Blueprint, 960gs, Tripoli). Elastic CSS Framework is a freestyle framework you can mix and nest any number of columns, you can even mix any number of columns, fixed-columns, and elastic-columns

Elastic CSS Framework provides a set of helper classes, to accomplish hard things by pure CSS like: same-height, full-width, and vertical-center

Elastic CSS Framework is designed so you can mix classes to accomplish complex layouts, recent frameworks are doing this too (OOCSS)

Elastic CSS Framework does not impose any rule on the size of your layout, subpixel rounding problems come to the game, Elastic provides a predictable, and consistent method to deal with this,(OOCSS has a method for subpixel rounding too) But both frameworks have taken different approaches to this problem.

Elastic has integrated clearfix, so there is no need to do clearfix manually when making a layout. Most other frameworks require that the developer handle this, making it more difficult to change, and learn

Elastic clearfix method is not intrusive, it does not require extra markup, and don’t use overlfow:hidden to accomplish it. So you can position relative or absolute like if your where not using clearfix at all.

Some frameworks require that the developer use a class ‘last’, to let the framework know that a block is ended, Elastic handles this situation automatically, making it easier to learn and code.

Many frameworks are designed to make fixed with layouts, others to make liquid layouts, and some recent frameworks are offering mixed solutions. Elastic lets you to handle liquid, fixed, and elastic layouts, and even mix this techniques in the same layout.

Elastic is the first framework to provide a set of snippets to event make development faster in the form of snippets, currently there is a bundle for gedit, textmate and coda.

Elastic is not designed only for page layouts, you can layout widgets, and complex web-based applications too, and use it almost in anything related to html.

 

 

 

什么是弹性和其他框架之间的差异
弹性CSS框架定义布局,例如:两列,固定柱,柱的声明性语言。其他框架的使用更神秘的名字,像col1of3或E30

大多数框架都是基于网格系统(蓝图,960gs,的黎波里)。弹性CSS框架是一个自由式框架,你可以混合和嵌套任意数量的列,你甚至可以组合任意数量的列,固定列,弹性柱

弹性CSS框架提供了一个助手类的设置,完成由纯粹的CSS一样坚硬的东西:同样的高度,宽度,和垂直中心

弹性CSS框架设计的,所以你可以混合类完成复杂的布局,最近的框架是这样做太(OOCSS)

弹性CSS框架不施加任何规则布局的大小,子像素四舍五入问题的游戏,弹性提供了一个可预见的,一致的方法来解决这个问题,(OOCSS有太为亚像素四舍五入的方法),但两个框架有对这个问题采取了不同的方法。

弹性综合clearfix,所以没有必要做clearfix手动布局时。大多数其他框架的要求,开发人员处理,使之更难以改变,并了解

弹性clearfix方法是不侵扰,但它并不需要额外的标记,和不使用overlfow:隐藏来完成它。所以,你可以位置相对或绝对就像如果你不使用clearfix所有。

一些框架的要求,开发人员使用的“最后”一类,让框架知道,一个块结束,弹性处理这种情况自动,使得它更容易学习和代码。

很多框架的设计使固定布局,其他液体布局,以及最近的一些框架提供混合的解决方案。弹性让你来处理液体,固定和弹性布局,甚至混合这种技术,在相同的布局。

弹性是第一个框架提供事件的片段,在片段的形式发展较快,目前是捆绑gedit中,TextMate的和尾。

弹性不是只设计页面布局,您可以布局部件,和太复杂的基于Web的应用程序,并且几乎在任何与HTML使用它。

0 请登录后投票
   发表时间:2012-01-19  
twitter-bootstrap
0 请登录后投票
   发表时间:2012-01-20  
liukai 写道
twitter-bootstrap

这个不错,在用...

http://twitter.github.com/bootstrap/

可以通过Less自己定制
0 请登录后投票
   发表时间:2012-01-21  
css 很少用框架  一般都是直接手写。。。
0 请登录后投票
论坛首页 Web前端技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics