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

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

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,404
    赞:
    47
    Less.js 2.6.0 发布了,改进记录包括:


    • Underscore now allowed in dimension unit


    • Fixes for import by reference


    • Fix for #2384 Changes HTTPRequest "sync" setting to simply hide the page until less has rendered, browser version is now orders of magnitude faster.


    • Added ability to cache stylesheets while using modifyVars


    • Error when when image-size functions are used in browser-less


    • Fixed extend leaking through nested parent selector. #2586


    • Added "or" keyword and allowed arbitrary logical expression in guards


    • Fixing #2124 - Parsing Error "Unrecognised input" for color operations


    • Logical operator and now has higher precence then logical operator or.


    • Allow unknown at-rules w/o {} block

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

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

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