- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我就是想不通我的 Susy 设置有什么问题。
我在 OS X 10.7.4
我一直在这里关注:http://susy.oddbird.net/guides/getting-started/
错误
Syntax error: File to import not found or unreadable: susy.
Load paths:
Users/simon/Websites/wpsvntree/trunk/sass
/Users/simon/.gem/ruby/1.8/gems/compass-0.11.7/frameworks/blueprint/stylesheets
/Users/simon/.gem/ruby/1.8/gems/compass-0.11.7/frameworks/compass/stylesheets
Compass::SpriteImporter
on line 2 of /Users/simon/Websites/wpsvntree/trunk/sass/_base.sass
from line 2 of /Users/simon/Websites/wpsvntree/trunk/sass/screen.sass
*** LOCAL GEMS ***
chunky_png (1.2.6, 1.2.5)
compass (0.12.2, 0.11.7)
compass-boilerplate-plugin (0.1.0)
compass-h5bp (0.0.5, 0.0.2)
compass-rails (1.0.3)
fssm (0.2.9, 0.2.8.1)
html5-boilerplate (2.1.0)
sass (3.2.1, 3.1.15)
susy (1.0.3)
require 'susy'
# Require any additional compass plugins here.
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "stylesheets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"
# You can select your preferred output style here (can be overridden via the command line):
# output_style = :expanded or :nested or :compact or :compressed
# To enable relative paths to assets via compass helper functions. Uncomment:
relative_assets = true
// ---------------------------------------------------------------------------
// Imports
@import "susy";
/* GRID SETUP
----------------------------------------------------------------------------------*/
$total-columns : 12;
$column-width : 4em;
$gutter-width : 1em;
$grid-padding : $gutter-width;
$show-grid-backgrounds : true;
/* SECTION
----------------------------------------------------------------------------------*/
@import "base";
.container {
@include container;
@include susy-grid-background;
}
compass create trunk -r susy -u susy
成功 .
compass watch trunk/
最佳答案
按照此处的解决方案进行操作。固定的。
https://github.com/ericam/susy/issues/21
关于compass-sass - 要导入的文件未找到或无法读取 : susy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13022956/
我有一个相当简单的问题,我似乎无法弄清楚。在某些列上定位跨度似乎没有任何效果。 header { .fullheight { @include backImage('../images/im
我正在使用 Susy 2.0。我正在构建一个固定宽度的站点(将在稍后阶段变得响应)。但是,我认为我的问题适用于将 Susy 用作静态或流体时。 这是我的全局设置: $susy: ( containe
我想让 div 中的内容居中,同时允许 div 占据屏幕的整个宽度。我在标题中有一个重复 x 的背景图像,并且必须在将内容居中的同时拉伸(stretch)整个屏幕的长度。我知道我可以在下面的示例中添加
唯一的区别似乎是您可以将新网格作为 susy-breakpoint 的第二个参数传递。为什么不总是使用 susy-breakpoint 并省略第二个参数? 简单地说:在哪些情况下您会选择使用 susy
我已经开始使用 Susy,它的功能给我留下了深刻的印象。目前我正在创建一个网络,其中有 4 个媒体查询: $mobile: 767px; $tablet: 768px; $small: 960px;
有谁知道如何找到我的 Windows 系统上安装的 Susy 版本? 例如,您可以在命令行中编写 compass -v 来查明您的机器上安装了哪个版本的 Compass。但是 susy -v 不起作用
这是我在 Susy 2 中从未理解的东西。 查看这个简单的示例显示: http://codepen.io/itsthomas/pen/Btzxa HTML: Box1 Box1
当我尝试将 Susy 和 Breakpoint 用于我的 Gulp-compass 时,我遇到了一个问题。我在这段代码中遗漏了什么吗? var compass = require('gulp-comp
虽然我更喜欢使用 susy在我的 css 上使用 mixins,在某些情况下,拥有通用网格类很有用,例如在 webforms 中使用这些声明内联是有意义的。 有没有办法做到这一点? 目前我正在手动生成
我想在 Susy grid system 中创建这样的东西: 不同的颜色展示了网站的不同部分及其背景颜色。垂直线是网格列。 如果我使用一个简单的网格容器,我只能在网格内的 div 中设置背景颜色,但我
如果我想要一个 SUSY 网格 [column1 of copy] [column2 of copy] [column3 of copy now on a new row] [column4 of c
我在我的个人网站上使用 susy,我遇到了一个奇怪的问题,即元素实际上并没有一直填充到它们应该跨越的最后一列的末尾。我已经打开了 susy 网格背景并将其放在我的测试服务器上,以便任何想要查看的人都可
我已经定义了一个基于 Susy 的响应式网格系统来处理 4(移动)、8(平板电脑)和 12(桌面)列。我的布局有一个固定的标题栏,它分为“ Logo ”和“工具栏”两部分。 “logo”div 没有嵌
我在使用 Susy 响应式网格时遇到了一些问题。我正在尝试设置两行三列布局。这是我正在使用的代码。 $susy: ( columns: 12, gutters: 1/2, math: fluid, o
我有以下内容,我将链接到样式并使用 Susy 重新排序。 源顺序如下,不可更改。 A B C D 所需的布局是: ------------------------------- | A
我有一个 24 Susy 列网格。我正在尝试做一些盒子,每个盒子都跨越 6 列(所以每行 4 列),但我想在它们周围添加一些排水沟,使用一个 24 列宽的更宽的容器。不幸的是,无论我尝试什么,我都无法
如果您查看我创建的代码笔演示:http://codepen.io/rctneil/pen/aNJjeP 我如何使用 Susy 在 上获取填充和 成为外网格的半个柱子?我试过使用 Susy 的 nes
我正在尝试理解 scss 并且我正在使用 susy 来创建网格系统。 我的基本设置是: $susy: ( columns: 12, gutters: 1/4, math: fl
Susy 的新手。我有一个包含并排内容区域的 12 列网格:content-left: span-columns(3,12);内容权利:跨度列(9 欧米茄,12)。两个内容区域必须具有相同的高度,以匹
学习 Susy,爱上它。虽然在测试简单的东西时有一些怪癖。我正在尝试并排创建两个半宽列,中间有一些装订线空间,然后是一个全宽列。问题是第二个半宽列 (y) 没有完全向右浮动。如果我完全删除了 padd
我是一名优秀的程序员,十分优秀!