Less.js 2.6.0 發布,CSS 預處理器

jopen 8年前發布 | 5K 次閱讀

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).

Less.js 2.6.0 發布,CSS 預處理器

來自: http://www.oschina.net//news/70353/less-css-2-6-0

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!