Implementation of LESS (Leaner CSS) in order to make themes development easier.
评级
4.6
最后更新
September 3, 2021
版本
1.9.3-3
活跃安装
20K

LESS is a templating language based on top of CSS. It provides numerous enhancements to speed up development and make its maintenance easier.

Theme developers can even bundle the plugin without worrying about conflicts: just include the special bootstrap-for-theme.php and read its instructions.

Features

  • Variables
  • Mixins (inheritance of rules)
  • Nested Rules (write less, do more)
  • Accessors (inherit a value from a specific rule)
  • Functions (logic operations for dynamic results)

The plugin lets you concentrate on what you need: coding CSS. Everything else is handled automatically, from cache management to user delivery. Seriously.

文档

Advanced topics on how to use the plugin API are available on the Github project documentation.

Requirements

The sole requirement is to use WordPress API and LESS convention: the .less extension.

Minimal Requirements: PHP 5.3 and WordPress 3.2. Relies on: Less.php, plugin-toolkit.

Notice: in case you’d like to drop the usage of this plugin, it’s safe to do it. You will just need to convert back your stylesheets to CSS.

免费使用Creator套餐
活跃安装
20K
目前已测试版本
5.8.10
此插件可供下载,可用于您的 WordPress 自托管安装。