推荐一个新的css框架Elastic

隆重为大家介绍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.

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

peihexian

你的鼓励是我创作的动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值