设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Less CSS 2.2.0发布,CSS预处理器

2015-1-5 16:25| 发布者: joejoe0332| 查看: 726| 评论: 0|原作者: oschina|来自: oschina

摘要: Less CSS 框架发布了 2.2.0 版本,改进记录包括:do not apply relative paths to svg-gradient and data-uri functions data-uri outputusing import filename interpolation and import inline together now works ...

Less CSS 框架发布了 2.2.0 版本,改进记录包括:

  • do not apply relative paths to svg-gradient and data-uri functions data-uri output

  • using import filename interpolation and import inline together now works

  • deprecate the compression option (still works, but outputs a warning unless silent)

  • The node version of less now has image-size, image-width, image-height which return the image dimensions of a file

  • Fixed an issue that could cause the parse to occur more than once and the callback be called multiple times

  • if you are outputting to the console, lessc defaults to silent so warnings do not end up in output

  • isunit function supports '' to test if a dimension has no unit

  • data-uri function now counts characters after base64 encoding instead of bytes before encoding to determine ie8 support

  • fix bug effecting guards on pseudo class selectors

  • do not cache on the browser when used with modifyVars

  • detection if less does not parse last character in file

  • detection of whether a file is css now requires /css, .css, ?css, &css instead of just css. You can still tell less the type of file using import options.

  • remove extra new line added to sourcemap entry inline file

  • support safari extension

  • less.parse now exposes a way to get the AST. We do not recommend you use this unless you need to.

Less CSS 是一个使用广泛的 CSS 预处理器,通过简单的语法和变量对 CSS 进行扩展,可减少很多 CSS 的代码量。

LESS 将 CSS 赋予了动态语言的特性,如 变量, 继承, 运算, 函数. LESS 既可以在 客户端 上运行 (支持IE 6+, Webkit, Firefox),也可一在服务端运行 (借助 Node.js).


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部