1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Less CSS 2.0.0-b2 发布,CSS 预处理器 下载

本帖由 漂亮的石头2014-10-29 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,081
    赞:
    46
    Less CSS 2.0.0-b2 发布,此版本现已提供下载,更新内容如下:


    • Imports are now sequenced and so are consistent (previously some complex projects might end up with occasional different orderings)


    • Imports with variables are better supported - variables can be specified in sub imports


    • Support for rebeccapurple


    • Browser can now accept options as attributes on the script tag and the link tags e.g. <script data-verbose="false" src="less.js"...


    • adding a .less file extension is done in the abstract file manager so it the behaviour can be overridden by certain file managers


    • Fixed a bug where unquoted urls beginning // e.g. url(//file/file.less) would be incorrectly interpreted (bug introduced in b-1)


    • lessc plugins can be a function, used as a constructor as well as an object - this to allow the plugin more flexibility to be used programattically

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

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

    [​IMG]
    Less CSS 2.0.0-b2 发布,CSS 预处理器下载地址
     
正在加载...