Less.js 3.0 正式版发布,可能是最受欢迎的 CSS 框架

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Less.js 发布了 3.0 正式版,该版本改进内容包括: Fix calc() function to not do math operations on compile Rename Directive -> AtRule & Rule -> Declaration Cross-platform @plugin loading! (Node ...

Less.js 发布了 3.0 正式版,该版本改进内容包括:

  • Fix calc() function to not do math operations on compile

  • Rename Directive -> AtRule & Rule -> Declaration

  • Cross-platform @plugin loading! (Node & Browser)

  • Numerous changes / improvements to plugin architecture

  • Simplified API calls in plugins (less.atrule() vs new less.tree.AtRule())

  • Property accessors ($width to refer to width: 300px value)

  • Inline JavaScript disabled by default for security reasons (use @plugin)

  • Improvements in Less error reporting

  • Added feature: returning null / false from Less functions will remove that line

  • Simple boolean() and if() functions added

  • Bug fixes

  • Removal of unnecessary nodes from API (like IE's alpha())

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

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

Less.js 3.0 正式版发布,可能是最受欢迎的 CSS 框架


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Less.js 3.0 正式版发布,可能是最受欢迎的 CSS 框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Learning PHP & MySQL中文版

Learning PHP & MySQL中文版

车立红 / 中国电力出版社 / 2007-06 / 36.00元

《Learning PHP & MySQL中文版》将介绍程序、模板和数据库的工作原理,讲述如何应对其中的挑战,并彻底地探索这些技术。一起来看看 《Learning PHP & MySQL中文版》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试