我刚开始使用指南针蓝图,我正在制作一个简单的框架,其中包含以下内容:
$blueprint_grid_columns: 12;
$blueprint_grid_width: 60px;
$blueprint-grid-margin: 20px;
@import "blueprint";
.frame {
@include container;
.header{
@include column(12);
background:#000;
height:100px;
}
.left_bar{
@include column(1);
background:#ccc;
height:450px;
}
.content{
@include column(10);
background: #000;
height:450px;
}
.right_bar{
@include column(1);
backgrounf:#ccc
height:450px;
}
}
html:
<body>
<div class='frame'>
<div class='header'>
</div> <!-- end header -->
<div class='left_bar'>
</div> <!-- end left_bar -->
<div class='content'>
</div> <!-- end content -->
<div class='right_bar'>
</div> <!-- end right_bar -->
</div> <!-- end frame -->
</body>
right_bar 不适合最后一列的空间,而是恰好出现在 left_bar 下方。谁能告诉我为什么?非常感谢任何帮助。
C