From my understanding, Compass only works with Ruby. Is there a PHP equivalent to Compass?
2条回答 默认 最新
douhanzhuo6905 2010-06-14 10:59关注Compass actually works great for PHP projects. I've used it on several CakePHP and Symfony projects. Compass is built with Ruby, so you need Ruby on your machine, but it compiles to plain old CSS. If you have Ruby (and RubyGems) installed, just install the Compass gem and you should be ready to go. Earlier versions of Compass used a Ruby-style syntax, but my understanding is that later versions have adopted a more CSS-like option.
If you haven't already, start with the documentation where installation is discussed in more detail.
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报