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

新闻 Less.js 2.5.0 发布,CSS预处理器 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    486,020
    赞:
    46
    Less.js 2.5.0 发布,此版本主要更新信息如下:


    • supports the scoped @plugin directive to load function plugins


    • All directives are bubbled (e.g. supports), not just media


    • Performance improvements to the parser - should help non-chrome browsers with very large less files to be alot quicker.


    • the image size function respects include paths like other file functions


    • colour functions take a relative argument that applies percentages relatively instead of absolutely


    • include paths now allows : as a separator on windows (recognising and not splitting drive names by the backslash)


    • @import (css) does not pull the directive above comments


    • Fix for import statements without quotes sometimes causing issues


    • replace supports dimensions and colours


    • the browser field is set in the package.json for use with browserify


    • another fix to support paths being passed as a string instead of an array


    • detached rulesets can be used as default arguments


    • Fix alot of false warnings about extends


    • errors written to stderr more consistently


    • consistently keep units if strict units is off


    • Better support for comments in function all arguments

    详细信息请查看更新日志

    此版本已经提供下载:
    https://github.com/less/less.js/archive/v2.5.0.zip

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

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

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