Compiling Less CSS for Bootstrap 3 with PHP

前端 未结 3 561
醉话见心
醉话见心 2021-02-06 01:14

There are two LessCSS compilers in PHP that I am aware of:

  • http://leafo.net/lessphp/
  • http://lessphp.gpeasy.com/

Both claim to be compatible

3条回答
  •  清歌不尽
    2021-02-06 01:38

    Honestly, I am still trying to understand the advantage of having the server compile the LESS files, rather than compiling them during development and then just loading the CSS onto the server when deploying the app. It just seems like extra work for the server with no advantage. I use a tool called Prepros -- the Windows equivalent of Code Kit. It's easy to set up. I make my changes in LESS and save. The CSS files are recompiled automatically and saved to the application folder on my development machine. When everything is the way I want it, I minify the files and port them to the production box.

提交回复
热议问题