1
SCSS 코드 단편은 compass compile
을 사용한 후 적절한 CSS를 생성합니다. 하지만 -output_style compressed
을 사용하면 CSS에 .box-yellow
정의가 누락되었습니다. .box-red
등은 생성되지만 노란색은 누락됩니다.압축 출력을 사용할 때 SASS/Compass에서 @each에 하나의 항목이 누락되었습니다.
$colors: red #f00, yellow #ff0, green #0f0, blue #00f;
@each $entry in $colors {
$name: nth($entry, 1);
$color: nth($entry, 2);
.box-#{$name} > header {
background: $color;
}
}
버그가 있습니까? 아니면 여기에 누락 된 항목이 있습니까?
예, 일시적으로 해결하여 '여보세요'로 변경했습니다. 따옴표가있는 팁 주셔서 감사합니다. – Dehalion
@Dehalion 도와 드리겠습니다. github의 Sass issues 섹션 (https://github.com/nex3/sass/issues) – steveax
에서 Compass 프로젝트에 대한 이슈를 작성했으며 현재 Sass (https : //github.com/nex3/sass/issues/665) – Dehalion