承接 leafo/scssphp-compass 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

leafo/scssphp-compass

Composer 安装命令:

composer require leafo/scssphp-compass

包简介

Compass for scssphp

README 文档

README

This is work in progress, expect to have problems!

This is a library for adding Compass to your scssphp installation.

The project composed of a couple parts:

  • A script that checks out Compass and extracts the SCSS
  • A PHP class that hooks into a instance of scssc from scssphp. This script updates the import path and adds built in functions required my Compass

Compass' SCSS is checked into this repository, so you only need to run the extract script if you are updating the version of Compass that is included.

Installation

scssphp-compass is a Composer package. Add the following to your composer.json:

{
  "require": {
    "leafo/scssphp-compass": "dev-master"
  }
}

Usage

<?php
require "vendor/autoload.php";

$scss = new scssc();
new scss_compass($scss);

echo $scss->compile('
  @import "compass";

  .shadow {
    @include box-shadow(10px 10px 8px red);
  }
');

统计信息

  • 总下载量: 166.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 72
  • 点击次数: 1
  • 依赖项目数: 14
  • 推荐数: 25

GitHub 信息

  • Stars: 65
  • Watchers: 7
  • Forks: 31
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-08-02