안녕하세요, 나는 거기에 격리 방법을 사용하여 오류가있는 하위 픽셀 반올림 오류를 수정하려고했지만 어떻게 든 크롬에 여전히 존재합니다 .... 내가 실제로 잘못하고있는 것을 파악할 수 없습니다. 당신의 도움을 주셔서 감사 많은, 정말 감사사지 그리드 픽셀 반올림 오류
http://codepen.io/HendrikEng/pen/PzZkjX
HTML :
<div class="l-wrap-page">
<div class="l-wrap-main">
<div class="c-block">
<div class="c-block__item">
<img src="http://lorempixel.com/400/200/">
</div>
<div class="c-block__item">
<div class="c-block-article">
<p>text text text texte text text
</p>
</div>
</div>
</div>
<div class="c-block">
<div class="c-block__item">
<img src="http://lorempixel.com/400/200/">
</div>
<div class="c-block__item">
<div class="c-block-article">
<p>text text text texte text text
</p>
</div>
</div>
</div>
</div> </div>
하는 SCS :
@import "breakpoint";
@import "susy";
@mixin cf {
&:after {
clear: both;
content: '';
display: table;
}
}
$susy:(
columns: 12,
container: 100%,
output: float,
gutters: 0,
global-box-sizing: border-box,
debug: (
image: show,
output: overlay,
color: rgba(77, 171, 252, .2),
toggle: top left,
),
);
@include border-box-sizing;
.l-wrap-page {
@include container;
@include show-grid();
}
.l-wrap-main {
@include span(12 of 12);
}
.c-block {
@include cf;
@include span(12);
@include show-grid();
&:nth-child(even) {
background-color: lightblue;
.c-block__item {
@include nested(12) {
&:nth-child(1) {
@include span(isolate 3 at 9 last);
}
&:nth-child(2) {
@include span(isolate 3 at 3 first);
}
}
}
}
&:nth-child(odd) {
background-color: pink;
.c-block__item {
@include nested(12) {
&:nth-child(1) {
@include span(isolate 3 at 3 first);
}
&:nth-child(2) {
@include span(isolate 3 at 9 last);
}
}
}
}
&:last-child {
@include last;
}
}
,536,
미리 암 감사합니다. 내 모든 걱정을 해결해줍니다. 그리고 susy에 대한 놀라운 작업에 감사드립니다. – HendrikEng