【问题标题】:How do I add fancy-type to blueprint using compass如何使用指南针将花式类型添加到蓝图
【发布时间】:2011-07-26 06:11:16
【问题描述】:

我正在开发一个带有指南针的 rails 3 应用程序。我做了'compass init rails --using blueprint/basic'和'compass init rails --using blueprint/buttons'。

但 .alt 类仍然不可用。它是蓝图/花式类型。文档说我需要做“@import”blueprint/fancy-type”。我在 stylesheets/screen.scss 文件中做了。但它还不起作用。

我错过了什么?

谢谢。

山姆

【问题讨论】:

    标签: ruby-on-rails compass-sass


    【解决方案1】:

    安装花式插件:

    1. 导入fancy_type模块:@import "blueprint/fancy_type"
    2. 在项目主体或样式表的顶层混合花式类型:body { @include fancy-type; }

    http://compass-style.org/docs/reference/blueprint/fancy_type/#mixin-fancy-type-scss

    【讨论】:

      猜你喜欢
      • 2012-12-18
      • 1970-01-01
      • 2012-08-20
      • 1970-01-01
      • 2021-10-18
      • 1970-01-01
      • 1970-01-01
      • 2012-02-02
      • 2011-08-27
      相关资源
      最近更新 更多