를 사용하여 상자를 중심으로하는 방법을 내 _base.scss
는 내 페이지에서청사진 CSS 프레임 워크
$blueprint-grid-columns: 12;
$blueprint-container-size: 750px;
$blueprint-grid-margin: 0px;
// Use this to calculate the width based on the total width.
// Or you can set $blueprint-grid-width to a fixed value and unset $blueprint-container-size -- it will be calculated for you.
$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin)/$blueprint-grid-columns - $blueprint-grid-margin;
다음 내가 갖고 싶어이 상자 안에 750 px
넓은
#big-box {
@include container;
background-color: #FFFFFF;
margin-top: 15px;
min-height: 550px;
}
을하는 큰 상자를 포함 센터에 정렬 상자하지만이 일을 얻을 수 없습니다. 다음 있도록 #login
상자가 중간에
#login{
@include container;
margin-top: 15px;
@include column(11);
background-color: #F1F1F1;
}
내가 어떻게해야 내 코드? 지금의 모습의
Image :
'width : span (11);'훌륭했습니다. 이제 그 상자의 너비는'686.667 px'로 자동 설정됩니다. 나는 청사진 CSS를 처음 사용합니다. span (11) 설정으로 문제가 해결 된 방법을 자세히 설명해 주시겠습니까? – Mike
물론 답을 수정하십시오. – numbers1311407